addseed-ux-admin/typings.d.ts

24 lines
495 B
TypeScript
Raw Permalink Normal View History

2024-06-04 19:34:13 +08:00
import '@umijs/max/typings';
declare global {
declare type EditRow<T> = T | undefined;
2024-06-05 19:24:38 +08:00
2024-06-07 19:26:41 +08:00
interface TableParams {
pagination?: TablePaginationConfig;
sortField?: string;
sortOrder?: string;
filters?: Parameters<GetProp<TableProps, 'onChange'>>[1];
}
2024-06-05 19:24:38 +08:00
const API_URL: string;
2024-06-04 19:34:13 +08:00
}
2024-06-05 16:39:56 +08:00
declare module '*.less';
declare module '*.svg';
declare module '*.png';
declare module '*.jpg';
declare module '*.jpeg';
declare module '*.gif';
declare module '*.bmp';
declare module '*.tiff';