Skip to content

Commit

Permalink
Merge pull request #455 from nc1z/nc1z/fix-actor-invoke-typo
Browse files Browse the repository at this point in the history
Fix typo in actors invoke
  • Loading branch information
davidkpiano authored Dec 26, 2024
2 parents c56e895 + d5c1463 commit b0278f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/invoke.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ For best results, use the latest TypeScript version. [Read more about XState and

:::

You should the `setup({ ... })` API to properly infer types for invoked actor logic.
You should use the `setup({ ... })` API to properly infer types for invoked actor logic.

```ts
import { setup, fromPromise, assign } from 'xstate';
Expand Down

0 comments on commit b0278f3

Please sign in to comment.