@types/parse-key
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/parse-key

Weekly Downloads

110

Version

0.2.2

License

MIT

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • types