diff --git a/cordova/plugins/NetworkInformation.d.ts b/cordova/plugins/NetworkInformation.d.ts index 1ba2ae9e0..cc960f657 100644 --- a/cordova/plugins/NetworkInformation.d.ts +++ b/cordova/plugins/NetworkInformation.d.ts @@ -45,7 +45,8 @@ interface Connection { * Connection.CELL * Connection.NONE */ - type: string + addEventListener(type: string, listener: EventListenerOrEventListenerObject, useCapture?: boolean): void; + type: string; } declare var Connection: {