diff --git a/preloadjs/preloadjs.d.ts b/preloadjs/preloadjs.d.ts index f5904fa8c..142e939b6 100644 --- a/preloadjs/preloadjs.d.ts +++ b/preloadjs/preloadjs.d.ts @@ -72,11 +72,18 @@ declare module createjs { static version: string; } + /* + NOTE: It is commented out because it conflicts with SamplePlugin class of TweenJS. + this class is mainly for documentation purposes. + http://www.createjs.com/Docs/PreloadJS/classes/SamplePlugin.html + */ + /* export class SamplePlugin { static fileLoadHandler(event: Object): void; static getPreloadHandlers(): Object; static preloadHandler(src: string, type: string, id: string, data: any, basePath: string, queue: LoadQueue): any; } + */ export class TagLoader extends AbstractLoader { constructor (item: Object); diff --git a/tweenjs/tweenjs.d.ts b/tweenjs/tweenjs.d.ts index a53dd8e20..775a05a20 100644 --- a/tweenjs/tweenjs.d.ts +++ b/tweenjs/tweenjs.d.ts @@ -75,6 +75,12 @@ declare module createjs { static install(): Object; } + /* + NOTE: It is commented out because it conflicts with SamplePlugin Class of PreloadJS. + this class is mainly for documentation purposes. + http://www.createjs.com/Docs/TweenJS/classes/SamplePlugin.html + */ + /* export class SamplePlugin { constructor(); @@ -87,6 +93,7 @@ declare module createjs { static install(): void; static tween(tween: Tween, prop: string, value: any, startValues: Object, endValues: Object, ratio: number, wait: boolean, end: boolean): any; } + */ export class Timeline extends EventDispatcher { constructor (tweens: Tween[], labels: Object, props: Object);