mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-07 11:14:00 +08:00
Update NetworkInformation.d.ts
Added addEventListener on Connection interface to support "change".
This commit is contained in:
1 parent
81ebfb3d08
commit
6ecd7d3ebd
1 file changed
+2
-1
+2
-1
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user