go-view/types/global.d.ts
2022-12-16 19:08:34 +08:00

17 lines
306 B
TypeScript

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