perf: layout

This commit is contained in:
xiaoxian521
2021-10-04 11:00:36 +08:00
committed by 啝裳
parent 6b16a04229
commit 37a967942b
4 changed files with 68 additions and 36 deletions

2
types/index.d.ts vendored
View File

@@ -29,3 +29,5 @@ declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>;
declare type ForDataType<T> = {
[P in T]?: ForDataType<T[P]>;
};
declare type AnyFunction<T> = (...args: any[]) => T;