types/index.d.ts @@ -14,7 +14,8 @@ type ForDataType<T> = { [P in T]?: ForDataType<T[P]>; }; // 申明 数组 declare type EmptyArrayType<T = any> = T[]; type AnyFunction<T> = (...args: any[]) => T; type PropType<T> = VuePropType<T>;