Przeglądaj źródła

Added loadAsync TS

Lewy Blue 5 lat temu
rodzic
commit
c95d437f18
1 zmienionych plików z 2 dodań i 0 usunięć
  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;