From 7b6270db25467d700c7300bfc8a023018cbeb65e Mon Sep 17 00:00:00 2001 From: Victor Repkow Date: Wed, 20 Apr 2022 12:20:35 -0400 Subject: [PATCH] fix(ts): incorrect import of `Subscription` causes TS error (#1910) Closes #1909 --- src/exports.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exports.ts b/src/exports.ts index 72a2e95c2..5edb57062 100644 --- a/src/exports.ts +++ b/src/exports.ts @@ -27,7 +27,7 @@ import { useSelector, createSelectorHook } from './hooks/useSelector' import { useStore, createStoreHook } from './hooks/useStore' import shallowEqual from './utils/shallowEqual' -import type { Subscription } from '../src/utils/Subscription' +import type { Subscription } from './utils/Subscription' export * from './types' export type {