Bones/node_modules/rxjs/Subscription.d.ts

13 lines
385 B
TypeScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
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[]);
}