UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

15 lines (14 loc) 741 B
export type KeypressEvent = { name: string; ctrl: boolean; shift: boolean; }; export type Keybinding = 'emacs' | 'vim'; export declare const isUpKey: (key: KeypressEvent, keybindings?: ReadonlyArray<Keybinding>) => boolean; export declare const isDownKey: (key: KeypressEvent, keybindings?: ReadonlyArray<Keybinding>) => boolean; export declare const isSpaceKey: (key: KeypressEvent) => boolean; export declare const isBackspaceKey: (key: KeypressEvent) => boolean; export declare const isTabKey: (key: KeypressEvent) => boolean; export declare const isNumberKey: (key: KeypressEvent) => boolean; export declare const isEnterKey: (key: KeypressEvent) => boolean; export declare const isShiftKey: (key: KeypressEvent) => boolean;