diff --git a/createjs/createjs.d.ts b/createjs/createjs-lib.d.ts similarity index 99% rename from createjs/createjs.d.ts rename to createjs/createjs-lib.d.ts index 3ebfd11bf..048fde92d 100644 --- a/createjs/createjs.d.ts +++ b/createjs/createjs-lib.d.ts @@ -32,8 +32,8 @@ declare module createjs { target: any; // It is 'Object' type officially, but 'any' is easier to use. timeStamp: number; type: string; - - // other event payloads + + // other event payloads data: any; delta: number; error: string; @@ -51,7 +51,7 @@ declare module createjs { src: string; time: number; total: number; - + // methods clone(): Event; preventDefault(): void; @@ -92,7 +92,7 @@ declare module createjs { toString(): string; willTrigger(type: string): boolean; } - + export function indexOf(array: any[], searchElement: Object): number; export function proxy(method: (eventObj: Object) => boolean, scope: Object, ...arg: any[]): (eventObj: Object) => any; diff --git a/easeljs/easeljs.d.ts b/easeljs/easeljs.d.ts index 2c5be3aa3..3f629aa3f 100644 --- a/easeljs/easeljs.d.ts +++ b/easeljs/easeljs.d.ts @@ -12,10 +12,10 @@ // Library documentation : http://www.createjs.com/Docs/EaselJS/modules/EaselJS.html -/// +/// /// -// rename the native MouseEvent, to avoid conflit with createjs's MouseEvent +// rename the native MouseEvent, to avoid conflict with createjs's MouseEvent interface NativeMouseEvent extends MouseEvent { } diff --git a/preloadjs/preloadjs.d.ts b/preloadjs/preloadjs.d.ts index 142e939b6..0af5debfe 100644 --- a/preloadjs/preloadjs.d.ts +++ b/preloadjs/preloadjs.d.ts @@ -12,7 +12,7 @@ // Library documentation : http://www.createjs.com/Docs/PreloadJS/modules/PreloadJS.html -/// +/// declare module createjs { export class AbstractLoader extends EventDispatcher { diff --git a/soundjs/soundjs.d.ts b/soundjs/soundjs.d.ts index 922d11667..f5a2f9b14 100644 --- a/soundjs/soundjs.d.ts +++ b/soundjs/soundjs.d.ts @@ -12,7 +12,7 @@ // Library documentation : http://www.createjs.com/Docs/SoundJS/modules/SoundJS.html -/// +/// declare module createjs { export class FlashPlugin { diff --git a/tweenjs/tweenjs.d.ts b/tweenjs/tweenjs.d.ts index 775a05a20..f4c1dcc74 100644 --- a/tweenjs/tweenjs.d.ts +++ b/tweenjs/tweenjs.d.ts @@ -12,7 +12,7 @@ // Library documentation : http://www.createjs.com/Docs/TweenJS/modules/TweenJS.html -/// +/// declare module createjs { export class CSSPlugin {