FileManage/web/types/global.d.ts
2025-01-10 14:16:18 +08:00

28 lines
418 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[];
};
interface Window {
webConfig: any;//全局变量名
}
}
export {};