({ editorSend }: any)
| 3 | import createActions from './actions' |
| 4 | |
| 5 | const createOptions = ({ editorSend }: any): MachineOptions<CR.MachineContext, CR.MachineEvent> => ({ |
| 6 | activities: {}, |
| 7 | // @ts-ignore |
| 8 | actions: createActions(editorSend), |
| 9 | guards: {}, |
| 10 | services: {}, |
| 11 | delays: {}, |
| 12 | }) |
| 13 | |
| 14 | export const createMachine = (options: any) => { |
| 15 | return Machine<CR.MachineContext, CR.MachineStateSchema, CR.MachineEvent>( |
no test coverage detected