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; }