fix: 优化代码格式,合并类型声明
This commit is contained in:
@@ -66,10 +66,7 @@ export type PromptProps<T = any> = {
|
||||
component?: Component;
|
||||
componentProps?: Recordable<any>;
|
||||
componentSlots?:
|
||||
| (() => any)
|
||||
| Recordable<unknown>
|
||||
| VNode
|
||||
| VNodeArrayChildren;
|
||||
(() => any) | Recordable<unknown> | VNode | VNodeArrayChildren;
|
||||
defaultValue?: T;
|
||||
modelPropName?: string;
|
||||
} & Omit<AlertProps, 'beforeClose'>;
|
||||
|
||||
@@ -341,12 +341,7 @@ interface RouteMeta {
|
||||
* Badge color
|
||||
*/
|
||||
badgeVariants?:
|
||||
| 'default'
|
||||
| 'destructive'
|
||||
| 'primary'
|
||||
| 'success'
|
||||
| 'warning'
|
||||
| string;
|
||||
'default' | 'destructive' | 'primary' | 'success' | 'warning' | string;
|
||||
/**
|
||||
* The children of the current route are not displayed in the menu
|
||||
* @default false
|
||||
|
||||
Reference in New Issue
Block a user