From 7edb7318707cfaf4493f0d78413641010bd6a754 Mon Sep 17 00:00:00 2001 From: divdavem Date: Fri, 14 Jun 2024 14:15:07 +0200 Subject: [PATCH] fix: small internal type mistake (#134) --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1435f76..e76bbf8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -60,7 +60,7 @@ export interface SubscriberObject { [oldSubscription]?: Unsubscriber; } -interface PrivateSubscriberObject extends Omit, 'oldSubscription'> { +interface PrivateSubscriberObject extends Omit, typeof oldSubscription> { _value: T; _valueIndex: number; _paused: boolean;