From 6dc7677cacc655e130522e1a83d8257d68a7f6d6 Mon Sep 17 00:00:00 2001 From: Victor Repkow Date: Tue, 19 Apr 2022 13:32:45 -0400 Subject: [PATCH] fix(ts): incorrect import of `Subscription` causes TS error 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 {