Skip to content

Instantly share code, notes, and snippets.

View BibbyChung's full-sized avatar
🏠
Working from home

Bibby BibbyChung

🏠
Working from home
View GitHub Profile
@BibbyChung
BibbyChung / subscription.extensions.ts
Last active June 25, 2019 06:45
easy to unsubscribe...
import { Subscription } from 'rxjs';
declare module 'rxjs/internal/Subscription' {
interface Subscription {
toUnsubscription(
this: Subscription,
sub: Subscription
): void;
}
}