Update NetworkInformation.d.ts

Added addEventListener on Connection interface to support "change".
This commit is contained in:
Tom O'Neill
2016-03-15 09:01:14 +01:00
parent 81ebfb3d08
commit 6ecd7d3ebd
+2 -1
View File
@@ -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: {