fastbee/yack-view/types/global.d.ts
2026-02-10 20:15:36 +08:00

25 lines
429 B
TypeScript

interface Window {
$loading: any
$message: any
$dialog: any
// 语言
$t: any
$vue: any
// 键盘按键记录
$KeyboardActive?: { [T: string]: boolean }
onKeySpacePressHold?: Function
// 编辑 JSON 的存储对象
opener: any
}
declare interface LoginInfoResponseType {
code: number;
msg: string;
permissions: any;
roles: any;
user: any;
}
declare type Recordable<T = any> = Record<string, T>