### Description It's difficult to find how to type a statemachine because theres only a small line about it in the [react recipe](https://xstate.js.org/docs/recipes/react.html#global-state-react-context) > For Typescript, you can create the context as createContext({ authService: {} as InterpreterFrom<typeof authMachine> }); to ensure strong typings. ### Expected result Add it in the [using typescript](https://xstate.js.org/docs/guides/typescript.html#using-typescript) section ### Actual result Searched for 1 or 2 hours before finding it ### Additional context See [this thread](https://discord.com/channels/795785288994652170/1008730028835618957/1008730030202945566) on discord.