Skip to content

Commit

Permalink
fix typing in declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
LCluber committed Apr 9, 2021
1 parent 587fccb commit 303a0b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 2.4.0 (April 09th 2021)
# 3.0.0 (April 09th 2021)

- Shorter methods name (addCmd, setCmd )
- GroupName becomes an option property and default to "default"
Expand Down
2 changes: 1 addition & 1 deletion dist/ctrltab.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface Options {
groupName?: string;
scope?: this;
repeat?: boolean;
[key: string]: boolean | this | undefined;
[key: string]: string | boolean | this | undefined;
}
export interface Keys {
[key: number]: Input;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dwtechs/ctrltab",
"version": "2.4.0",
"version": "3.0.0",
"description": "Shortcut key bindings library with multiple keystroke detection.",
"keywords": [
"key binding",
Expand Down
2 changes: 1 addition & 1 deletion src/ctrltab.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface Options {
groupName?: string;
scope?: this;
repeat?: boolean;
[key: string]: boolean | this | undefined;
[key: string]: string | boolean | this | undefined;
}
export interface Keys {
[key: number]: Input;
Expand Down

0 comments on commit 303a0b8

Please sign in to comment.