From 192a2004d755cb78da45bac13f84e587d1e2b458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Thu, 5 Dec 2024 11:33:58 +0100 Subject: [PATCH] Fixed an accidental used reference of `xstate` types --- .changeset/rude-eyes-cheer.md | 5 +++++ packages/xstate-store/src/store.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/rude-eyes-cheer.md diff --git a/.changeset/rude-eyes-cheer.md b/.changeset/rude-eyes-cheer.md new file mode 100644 index 0000000000..87a6b128d2 --- /dev/null +++ b/.changeset/rude-eyes-cheer.md @@ -0,0 +1,5 @@ +--- +'@xstate/store': patch +--- + +Fixed an accidental used reference of `xstate` types diff --git a/packages/xstate-store/src/store.ts b/packages/xstate-store/src/store.ts index f8600f4ed3..6a651d58be 100644 --- a/packages/xstate-store/src/store.ts +++ b/packages/xstate-store/src/store.ts @@ -1,10 +1,9 @@ -import { EventObject } from 'xstate'; import { Cast, EnqueueObject, + EventObject, EventPayloadMap, ExtractEventsFromPayloadMap, - StoreInspectionEvent, InteropSubscribable, Observer, Recipe, @@ -12,6 +11,7 @@ import { StoreAssigner, StoreCompleteAssigner, StoreContext, + StoreInspectionEvent, StorePartialAssigner, StorePropertyAssigner, StoreSnapshot