Skip to content

typescript 1.5 beta in webstorm 10.0.2, get an error: TS2304-Cannot find name 'DataView' #2998

@raregrass

Description

@raregrass

What steps will reproduce the problem?

  1. Use custom typescript 1.5 beta compiler.
  2. Type a code snippet: let a: typeof DataView.
  3. Get an error: Error:(1, 15) TS2304: Cannot find name 'DataView'.

What is the expected result?
It should be right.

What happens instead?
Get an error.

Please provide any additional information below.
When I use bounded typescript 1.4 compiler and the new typescript 1.5 alpha compiler, everything is OK. I don't know where I should put this issue, so I put it both in webstorm and typescript issue track platform. Please check and tell me what should I do.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    DuplicateAn existing issue was already created

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions