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;