zksu
/
WEB
forked from yoone/WEB
1
0
Fork 0
WEB/typings.d.ts

16 lines
408 B
TypeScript

import '@umijs/max/typings';
declare namespace BaseType {
type EnumTransformOptions {
value: string; // 用于作为 value 的字段名
label: string; // 用于作为 text 的字段名
status?: string | undefined; // 可选:用于设置状态的字段名
color?: string | undefined; // 可选:用于设置颜色的字段名
}
}
declare global {
const UMI_APP_API_URL: string;
}