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
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.