Skip to content

unable to run tests due to invalid @types/node d.ts #13674

@Artazor

Description

@Artazor

TypeScript Version: 2.1.5

Shell command:

$ jake runtests-browser  browser=chrome

Expected behavior:

tests are executed

Actual behavior:

tests/webTestServer.ts(318,14): error TS2678: Type '"win64"' is not comparable to type 'Platform'.

really, @types/node has no definition for "win64", yet it is used in tests/webTestServer.ts#L318

however, it could be wrong to use "win64" as https://nodejs.org/api/os.html#os_os_platform
states that there is no such value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    InfrastructureIssue relates to TypeScript team infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions