UNPKG

393 BTypeScriptView Raw
1import Observable from 'zen-observable-ts';
2type NetworkStatus = {
3 online: boolean;
4};
5export default class ReachabilityNavigator implements Reachability {
6 private static _observers;
7 networkMonitor(netInfo?: any): Observable<NetworkStatus>;
8 private static _observerOverride;
9}
10interface Reachability {
11 networkMonitor(netInfo?: any): Observable<NetworkStatus>;
12}
13export {};