Parcourir la source

Update for AnimationLoader.d.ts

Atsushi il y a 5 ans
Parent
commit
f0e1c92f56
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/loaders/AnimationLoader.d.ts

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

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