style 代码格式化

This commit is contained in:
DaxPay
2024-07-02 09:31:05 +08:00
parent 0f3d83e58a
commit aafdd6540e
708 changed files with 16137 additions and 18495 deletions

24
types/index.d.ts vendored
View File

@@ -1,27 +1,27 @@
declare interface Fn<T = any, R = T> {
(...arg: T[]): R;
(...arg: T[]): R
}
declare interface PromiseFn<T = any, R = T> {
(...arg: T[]): Promise<R>;
(...arg: T[]): Promise<R>
}
declare type RefType<T> = T | null;
declare type RefType<T> = T | null
declare type LabelValueOptions = {
label: string;
value: any;
[key: string]: string | number | boolean;
}[];
label: string
value: any
[key: string]: string | number | boolean
}[]
declare type EmitType = ReturnType<typeof defineEmits>;
declare type EmitType = ReturnType<typeof defineEmits>
declare type TargetContext = '_self' | '_blank';
declare type TargetContext = '_self' | '_blank'
declare interface ComponentElRef<T extends HTMLElement = HTMLDivElement> {
$el: T;
$el: T
}
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> = ComponentElRef<T> | null;
declare type ComponentRef<T extends HTMLElement = HTMLDivElement> = ComponentElRef<T> | null
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>;
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>