Skip to content

navigator.hardwareConcurrency not existing #11581

Closed
@nicolashenry

Description

@nicolashenry

TypeScript Version: 2.0.3

Code

const hardwareConcurrency = window.navigator.hardwareConcurrency;

Expected behavior:
No error

Actual behavior:
[ts] Property 'hardwareConcurrency' does not exist on type 'Navigator'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions