electricity_bill_calc_userR.../src/shared/system.ts

22 lines
452 B
TypeScript

import { ItemType } from "antd/es/menu/hooks/useItems";
export type PrivilegedItemType = {
any?: number[];
all?: number[];
link?: string;
title?: string;
specific?: string;
children?: PrivilegedItemType[];
label?: string,
key?: string,
} & ItemType;
export interface FileListItem {
uid?: string,
name?: string,
status?: 'done' | 'uploading' | 'error' | 'removed',
response?: string,
linkProps?: string,
}