refactor: 通知公告 原生表单(非最终确定版)
This commit is contained in:
11
apps/web-antd/types/antd.d.ts
vendored
Normal file
11
apps/web-antd/types/antd.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { RuleObject } from 'ant-design-vue/es/form';
|
||||
|
||||
declare global {
|
||||
type AntdFormRules<T> = {
|
||||
[key: string]: RuleObject[];
|
||||
} & {
|
||||
[K in keyof T]?: RuleObject[];
|
||||
};
|
||||
}
|
||||
|
||||
export {};
|
Reference in New Issue
Block a user