You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interface 'Navigator' incorrectly extends interface 'NavigatorNetworkInformation'.
Types of property 'connection' are incompatible. Property 'dispatchEvent' is missing in type 'Connection' but required in type 'NetworkInformation'.ts(2430)
Also
The types of 'connection.type' are incompatible between these types. Type 'string' is not assignable to type 'ConnectionType'.
What is expected to happen?
Typescript compilation completes without errors
What does actually happen?
Typescript compilation errors out
Information
None that seemed relevant
Command or Code
tsc
Environment, Platform, Device
Typescript Compilation
Version information
Typescript Version 4.5.4
cordova-plugin-network-information Version 3.0.0
Checklist
I searched for existing GitHub issues
I updated all Cordova tooling to most recent version
I included all the necessary information above
The text was updated successfully, but these errors were encountered:
Bug Report
Problem
Interface 'Navigator' incorrectly extends interface 'NavigatorNetworkInformation'.
Types of property 'connection' are incompatible.
Property 'dispatchEvent' is missing in type 'Connection' but required in type 'NetworkInformation'.ts(2430)
Also
The types of 'connection.type' are incompatible between these types.
Type 'string' is not assignable to type 'ConnectionType'.
What is expected to happen?
Typescript compilation completes without errors
What does actually happen?
Typescript compilation errors out
Information
None that seemed relevant
Command or Code
tsc
Environment, Platform, Device
Typescript Compilation
Version information
Typescript Version 4.5.4
cordova-plugin-network-information Version 3.0.0
Checklist
The text was updated successfully, but these errors were encountered: