Browse Source

Update for AnimationLoader.d.ts

Atsushi 5 years ago
parent
commit
f0e1c92f56
1 changed files with 2 additions and 2 deletions
  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[];
 
 }