fix: 优化代码格式,合并类型声明

This commit is contained in:
xingyu4j
2026-07-13 18:30:19 +08:00
parent 819ddd4ebb
commit 91a2e80be8
8 changed files with 11 additions and 26 deletions

View File

@@ -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'>;