forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
yui.d.ts
29 lines (23 loc) · 1.16 KB
/
yui.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Type definitions for yui 3.14.0
// Project: https://github.com/yui/yui3
// Definitions by: Gia Bảo @ Sân Đình <https://github.com/giabao>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <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;