Selaa lähdekoodia

Merge pull request #20994 from vickyliin/ts-fix-KeyframeTrack-constructor

TS: fix KeyframeTrack constructor types
Mr.doob 4 vuotta sitten
vanhempi
commit
25f1fc9a2d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/animation/KeyframeTrack.d.ts

+ 2 - 2
src/animation/KeyframeTrack.d.ts

@@ -13,8 +13,8 @@ export class KeyframeTrack {
 	 */
 	constructor(
 		name: string,
-		times: any[],
-		values: any[],
+		times: ArrayLike<any>,
+		values: ArrayLike<any>,
 		interpolation?: InterpolationModes
 	);