From 55372c6ab4a3f591b60fa6eebf2ab0f3ec4d6817 Mon Sep 17 00:00:00 2001 From: nc1z Date: Wed, 25 Dec 2024 20:56:15 +0800 Subject: [PATCH 1/2] Fix typo in actors invoke --- docs/invoke.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/invoke.mdx b/docs/invoke.mdx index c67f5eb8..eb0981bb 100644 --- a/docs/invoke.mdx +++ b/docs/invoke.mdx @@ -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 leverage the `setup({ ... })` API to properly infer types for invoked actor logic. ```ts import { setup, fromPromise, assign } from 'xstate'; From d5c146303b83ce9445baea51943197344ef5482e Mon Sep 17 00:00:00 2001 From: David Khourshid Date: Thu, 26 Dec 2024 10:13:24 +0600 Subject: [PATCH 2/2] Update docs/invoke.mdx --- docs/invoke.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/invoke.mdx b/docs/invoke.mdx index eb0981bb..7d64134b 100644 --- a/docs/invoke.mdx +++ b/docs/invoke.mdx @@ -886,7 +886,7 @@ For best results, use the latest TypeScript version. [Read more about XState and ::: -You should leverage 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';