REACT Global Hollkeys TypeScript

import { KeyMap } from 'react-hotkeys';

const keyMap: KeyMap = {
    CONTRACT: "alt+down",
    COMMAND_DOWN: { sequence: "command", action: "keydown" }
};
Daniel Kristoffersen