Browse Source

Added loadAsync TS

Lewy Blue 5 years ago
parent
commit
c95d437f18
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/loaders/Loader.d.ts

+ 2 - 0
src/loaders/Loader.d.ts

@@ -17,6 +17,8 @@ export class Loader {
 	parse(): void;
 	*/
 
+	loadAsync( url: string, onProgress?: ( event: ProgressEvent ) => void ): Promise<any>;
+
 	setCrossOrigin( crossOrigin: string ): this;
 	setPath( path: string ): this;
 	setResourcePath( resourcePath: string ): this;