export interface Observer { next?: (value: T) => void; error?: (err?: any) => void; complete?: () => void; isUnsubscribed?: boolean; }