Fix PreloadJs installplugin() type

Fixing https://github.com/DefinitelyTyped/DefinitelyTyped/issues/4692

The docs of preloadjs http://www.createjs.com/docs/preloadjs/modules/PreloadJS.html states that the 'installPlugin' method should be able to add 'createjs.Sound' which is not a function.
This commit is contained in:
Justin van Elst 2016-11-30 15:30:25 +01:00 committed by GitHub
parent 3c56e866d6
commit bffae6fcb7

View File

@ -158,7 +158,7 @@ declare namespace createjs {
// methods
close(): void;
getItems(loaded: boolean): Object[];
installPlugin(plugin: () => any): void;
installPlugin(plugin: any): void;
loadFile(file: Object | string, loadNow?: boolean, basePath?: string): void;
loadManifest(manifest: Object | string | any[], loadNow?: boolean, basePath?: string): void;
registerLoader(loader: AbstractLoader): void;