routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
import type { MaybeRef } from '../../util/index.js';
|
||||
interface HotkeyOptions {
|
||||
event?: MaybeRef<'keydown' | 'keyup'>;
|
||||
inputs?: MaybeRef<boolean>;
|
||||
preventDefault?: MaybeRef<boolean>;
|
||||
sequenceTimeout?: MaybeRef<number>;
|
||||
}
|
||||
export declare function useHotkey(keys: MaybeRef<string | undefined>, callback: (e: KeyboardEvent) => void, options?: HotkeyOptions): () => void;
|
||||
|
||||
Reference in New Issue
Block a user