fix: 优化代码格式,合并类型声明
This commit is contained in:
@@ -80,10 +80,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'>;
|
||||
|
||||
Reference in New Issue
Block a user