Bones/node_modules/rxjs/Subscription.d.ts
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

13 lines
385 B
TypeScript

export declare class Subscription {
static EMPTY: Subscription;
isUnsubscribed: boolean;
constructor(_unsubscribe?: () => void);
unsubscribe(): void;
add(subscription: Subscription | Function | void): void;
remove(subscription: Subscription): void;
}
export declare class UnsubscriptionError extends Error {
errors: any[];
constructor(errors: any[]);
}