first commit

This commit is contained in:
2026-09-08 20:28:54 +08:00
commit 2ada8d3d5a
37380 changed files with 4886169 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import types = require('./types');
declare namespace hotkey {
interface IOptions {
element?: HTMLElement;
}
}
declare const hotkey: {
on(key: string, options: hotkey.IOptions, listener: types.AnyFn): void;
on(key: string, listener: types.AnyFn): void;
off(key: string, options: hotkey.IOptions, listener: types.AnyFn): void;
off(key: string, listener: types.AnyFn): void;
};
export = hotkey;