Initial commit

This commit is contained in:
jiapengyu
2026-07-27 13:37:48 +08:00
commit ecba71e2a5
39123 changed files with 5989154 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;