go-view/types/global.d.ts
2022-06-01 22:41:11 +08:00

17 lines
238 B
TypeScript

interface Window {
$loading: any
$message: any
$dialog: any
// 语言
$t: any
$vue: any
}
declare interface MyResponseType {
code: number;
msg: string;
data: any;
}
declare type Recordable<T = any> = Record<string, T>