Fix ide support
This commit is contained in:
parent
1a3afe4dd0
commit
e01400058d
14 changed files with 50 additions and 20 deletions
3
shared/src/commands/command-executors.ts
Normal file
3
shared/src/commands/command-executors.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export type CommandExecutors = {
|
||||
[type: string]: (command: any) => unknown;
|
||||
};
|
||||
|
|
@ -1,9 +1,6 @@
|
|||
import { CommandExecutors } from './command-executors';
|
||||
import { Command } from './command';
|
||||
|
||||
export type CommandExecutors = {
|
||||
[type: string]: (command: any) => unknown;
|
||||
};
|
||||
|
||||
export abstract class CommandReceiver {
|
||||
protected commandExecutors: CommandExecutors = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue