We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c72b3 commit a35dfa6Copy full SHA for a35dfa6
lib/common/yok.ts
@@ -6,7 +6,7 @@ import { CommandsDelimiters } from "./constants";
6
import { IDictionary } from "./declarations";
7
import { IInjector } from "./definitions/yok";
8
import { ICommandArgument, ICommand } from "./definitions/commands";
9
-import { IKeyCommand, IValidKeyCommands } from "./definitions/key-commands";
+import { IKeyCommand, IValidKeyName } from "./definitions/key-commands";
10
11
export let injector: IInjector;
12
@@ -189,10 +189,7 @@ export class Yok implements IInjector {
189
});
190
}
191
192
- public registerKeyCommand(
193
- name: IValidKeyCommands,
194
- resolver: IKeyCommand
195
- ): void {
+ public registerKeyCommand(name: IValidKeyName, resolver: IKeyCommand): void {
196
this.register(this.createKeyCommandName(name), resolver);
197
198
0 commit comments