go-view/types/global.d.ts

19 lines
294 B
TypeScript

interface Window {
$loading: any
$message: any
$dialog: any
// 语言
$t: any
$vue: any
// 键盘按键记录
$KeyboardActive?: Set<string>
}
declare interface MyResponseType {
code: number;
msg: string;
data: any;
}
declare type Recordable<T = any> = Record<string, T>