فهرست منبع

TS: fix KeyframeTrack constructor

vickyliin 4 سال پیش
والد
کامیت
14a3d7240e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/animation/KeyframeTrack.d.ts

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

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