fix(Subscription): rename stuff
This commit is contained in:
parent
9e0da8966b
commit
f63779f4bb
@ -15,7 +15,7 @@ export interface SubscriptionConstructor {
|
|||||||
new (t?: Teardown): Subscription;
|
new (t?: Teardown): Subscription;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TeardownLogic = Subscription | Unsubscribable | (() => void) | void;
|
export type TeardownLogic = Subscription | Unsubscribable | Teardown | void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation
|
* Implementation
|
||||||
@ -38,8 +38,8 @@ export class Subscription implements ISubscription {
|
|||||||
throw new Error('TODO');
|
throw new Error('TODO');
|
||||||
}
|
}
|
||||||
|
|
||||||
public remove(s: TeardownLogic): void {
|
public remove(tl: TeardownLogic): void {
|
||||||
void s;
|
void tl;
|
||||||
throw new Error('TODO');
|
throw new Error('TODO');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user