(action: T.Action)
| 27 | // This makes it easier to pass the send |
| 28 | // function throughout the codebase |
| 29 | export const send = (action: T.Action): void => { |
| 30 | // log send of event to client |
| 31 | logger(`${typeof action === 'string' ? action : action.type}`) |
| 32 | sendToClient(action) |
| 33 | } |
| 34 | |
| 35 | export const createCommands = (commandProps: CreateCommandProps): { [key: string]: any } => { |
| 36 | const { extensionPath, workspaceState } = commandProps |
no test coverage detected