go-view/types/global.d.ts

17 lines
306 B
TypeScript
Raw Normal View History

2021-12-10 14:11:49 +08:00
interface Window {
2021-12-22 15:31:20 +08:00
$loading: any
$message: any
$dialog: any
// 语言
2021-12-22 15:31:20 +08:00
$t: any
$vue: any
2022-06-22 14:31:53 +08:00
// 键盘按键记录
2022-10-10 18:47:07 +08:00
$KeyboardActive?: { [T: string]: boolean }
2022-12-16 19:08:34 +08:00
onKeySpacePressHold?: Function
2022-11-05 21:31:42 +08:00
// 编辑 JSON 的存储对象
opener: any
2021-12-10 14:11:49 +08:00
}
2022-01-14 16:17:14 +08:00
2022-10-10 18:47:07 +08:00
declare type Recordable<T = any> = Record<string, T>