From f63779f4bb8b6022077e71dd40979d197765b65b Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Wed, 5 Jul 2023 10:47:45 +0200 Subject: [PATCH] fix(Subscription): rename stuff --- src/Subscription.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Subscription.ts b/src/Subscription.ts index c86dd16..2c1365a 100644 --- a/src/Subscription.ts +++ b/src/Subscription.ts @@ -15,7 +15,7 @@ export interface SubscriptionConstructor { new (t?: Teardown): Subscription; } -export type TeardownLogic = Subscription | Unsubscribable | (() => void) | void; +export type TeardownLogic = Subscription | Unsubscribable | Teardown | void; /** * Implementation @@ -38,8 +38,8 @@ export class Subscription implements ISubscription { throw new Error('TODO'); } - public remove(s: TeardownLogic): void { - void s; + public remove(tl: TeardownLogic): void { + void tl; throw new Error('TODO'); } }