mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
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:
parent
3c56e866d6
commit
bffae6fcb7
2
preloadjs/index.d.ts
vendored
2
preloadjs/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user