Files
vue3-element-admin/types/global.d.ts
haoxr e138347ac4 refactor: 合并全局类型声明
Former-commit-id: 4eec544ff1a4870150c59f36db06f27f92ad6595
2022-12-18 13:16:21 +08:00

25 lines
344 B
TypeScript

declare global {
interface PageQuery {
pageNum: number;
pageSize: number;
}
interface PageResult<T> {
list: T;
total: number;
}
type DialogType = {
title?: string;
visible: boolean;
};
type OptionType = {
value: string;
label: string;
checked?: boolean;
children?: OptionType[];
};
}