UNPKG

374 BTypeScriptView Raw
1export declare function getSourceForInstance<T>(instance: T): T;
2export interface NextNotification<T> {
3 kind: 'N';
4 value: T;
5}
6export interface ErrorNotification {
7 kind: 'E';
8 error: any;
9}
10export interface CompleteNotification {
11 kind: 'C';
12}
13export declare type ObservableNotification<T> = NextNotification<T> | ErrorNotification | CompleteNotification;