feat: 新增键盘按键记录功能

This commit is contained in:
奔跑的面条
2022-06-22 14:31:53 +08:00
parent 0f73536ce0
commit a0c8bc7fe5
2 changed files with 22 additions and 3 deletions

2
types/global.d.ts vendored
View File

@@ -5,6 +5,8 @@ interface Window {
// 语言
$t: any
$vue: any
// 键盘按键记录
$KeyboardActive?: Set<string>
}
declare type Recordable<T = any> = Record<string, T>