TypeScript Version: 2.3.2
Code
navigator.languages
Expected behavior:
It should be defined and be of string[]
type.
Actual behavior:
compiler error:
Property 'languages' does not exist on type 'Navigator'.
I've opened a PR here to fix this: https://github.com/Microsoft/TSJS-lib-generator/pull/263
The PR was merged on Microsoft/TSJS-lib-generator, so I'm closing this.
Im using the Typescript 2.4.2 ( And Angular 4) and I have the same problem.
Most helpful comment
Im using the Typescript 2.4.2 ( And Angular 4) and I have the same problem.