diff --git a/packages/react-robot/index.d.ts b/packages/react-robot/index.d.ts index d02754f0..09ad5732 100644 --- a/packages/react-robot/index.d.ts +++ b/packages/react-robot/index.d.ts @@ -1,11 +1,11 @@ declare module 'react-robot' { - import type {Machine, SendFunction, Service} from 'robot3'; + import type {Machine, SendFunction, Service, GetMachineTransitions} from 'robot3'; export function useMachine( machine: M, initialContext?: M['context'] ): [ M['state'] & {context: M['context']}, - SendFunction, + SendFunction>, Service ]; }