UNPKG

@types/parse-key

Version:
31 lines (24 loc) 807 B
# Installation > `npm install --save @types/parse-key` # Summary This package contains type definitions for parse-key (https://github.com/thlorenz/parse-key). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-key. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-key/index.d.ts) ````ts interface KeyObject { name: string; ctrl: boolean; meta: boolean; shift: boolean; alt: boolean; sequence: string; } declare function parse(s: string): KeyObject; export = parse; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: none # Credits These definitions were written by [Nathan Bierema](https://github.com/Methuselah96).