Просмотр исходного кода

Update for AnimationLoader.d.ts

Atsushi 6 лет назад
Родитель
Сommit
f0e1c92f56
1 измененных файлов с 2 добавлено и 2 удалено
  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[];
 
 }

粤ICP备19079148号