mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
add yui3 partial definition type & add many tests file to cryptojs
This commit is contained in:
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
// Type definitions for yui 3.14.0
|
||||
// Project: https://github.com/yui/yui3/blob/release-3.14.0/src/yui/js
|
||||
// Definitions by:
|
||||
// Gia Bảo @ Sân Đình <https://github.com/giabao>
|
||||
|
||||
/// <reference path="yui-test.d.ts" />
|
||||
|
||||
interface YUI{
|
||||
Test: YUITest.YUITestStatic
|
||||
Assert: YUITest.IAssert
|
||||
|
||||
add(name: string, fn: (Y: YUI, name: string) => any, version: string, details?: Y.IConfig): YUI;
|
||||
|
||||
mix(receiver: Function, supplier: Function, overwrite?: boolean, whitelist?: string[], mode?: number, merge?: boolean): any//Function|Object|YUI
|
||||
mix(receiver: Object, supplier: Function, overwrite?: boolean, whitelist?: string[], mode?: number, merge?: boolean): any//Function|Object|YUI
|
||||
mix(receiver: Function, supplier: Object, overwrite?: boolean, whitelist?: string[], mode?: number, merge?: boolean): any//Function|Object|YUI
|
||||
mix(receiver: Object, supplier: Object, overwrite?: boolean, whitelist?: string[], mode?: number, merge?: boolean): any//Function|Object|YUI
|
||||
}
|
||||
|
||||
declare module Y{
|
||||
interface IConfig{
|
||||
requires: string[]
|
||||
optional: string[]
|
||||
use: string[]
|
||||
}
|
||||
}
|
||||
|
||||
declare var Y: YUI;
|
||||
declare var YUI: YUI;
|
||||
Reference in New Issue
Block a user