1
0
Эх сурвалжийг харах

Update for AnimationLoader.d.ts

Atsushi 6 жил өмнө
parent
commit
f0e1c92f56

+ 2 - 2
src/loaders/AnimationLoader.d.ts

@@ -8,10 +8,10 @@ export class AnimationLoader extends Loader {
 
 
 	load(
 	load(
 		url: string,
 		url: string,
-		onLoad?: ( response: string | ArrayBuffer ) => void,
+		onLoad: ( response: AnimationClip[] ) => void,
 		onProgress?: ( request: ProgressEvent ) => void,
 		onProgress?: ( request: ProgressEvent ) => void,
 		onError?: ( event: ErrorEvent ) => void
 		onError?: ( event: ErrorEvent ) => void
-	): any;
+	): void;
 	parse( json: any ): AnimationClip[];
 	parse( json: any ): AnimationClip[];
 
 
 }
 }

粤ICP备19079148号