JavaProjectRepo/frontend/types/global.d.ts
2025-11-08 11:21:31 +08:00

24 lines
353 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[];
};
}
export {};