declarations
Version:
[](https://www.npmjs.com/package/declarations)
20 lines (14 loc) • 514 B
TypeScript
// Type definitions for ngCordova network plugin
// Project: https://github.com/driftyco/ng-cordova
// Definitions by: Kapil Sachdeva <https://github.com/ksachdeva>
// Definitions: https://github.com/ksachdeva/DefinitelyTyped
/// <reference path="../angularjs/angular.d.ts" />
declare namespace ngCordova {
export interface INetworkInformationService {
getNetwork(): string;
isOnline(): boolean;
isOffline(): boolean;
clearOfflineWatch(): void;
clearOnlineWatch(): void;
}
}