Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'languages' does not exist on type 'Navigator'. #16246

Closed
coreh opened this issue Jun 4, 2017 · 3 comments
Closed

Property 'languages' does not exist on type 'Navigator'. #16246

coreh opened this issue Jun 4, 2017 · 3 comments
Assignees
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this

Comments

@coreh
Copy link

coreh commented Jun 4, 2017

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: microsoft/TypeScript-DOM-lib-generator#263

@coreh
Copy link
Author

coreh commented Jun 5, 2017

The PR was merged on Microsoft/TSJS-lib-generator, so I'm closing this.

@coreh coreh closed this as completed Jun 5, 2017
@mhegazy mhegazy reopened this Jun 6, 2017
@mhegazy mhegazy added the Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet label Jun 6, 2017
@mhegazy mhegazy self-assigned this Jun 6, 2017
@mhegazy
Copy link
Contributor

mhegazy commented Jun 8, 2017

Fixed by c8d33bc

@mhegazy mhegazy closed this as completed Jun 8, 2017
@mhegazy mhegazy added Fixed A PR has been merged for this issue Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this and removed Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet labels Jun 8, 2017
@titusfx
Copy link

titusfx commented Nov 7, 2017

Im using the Typescript 2.4.2 ( And Angular 4) and I have the same problem.

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

3 participants