Skip to content

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

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

Closed
raregrass opened this issue May 2, 2015 · 3 comments
Labels
Duplicate An existing issue was already created

Comments

@raregrass
Copy link

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

@DanielRosenwasser
Copy link
Member

Looks like a duplicate of #2953, which is fixed in #2960.

@mhegazy #2953 says the fix is slated for 1.5.2, but #2960 was merged into master. Just want to make sure I give a correct release timeframe for this.

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label May 2, 2015
@raregrass
Copy link
Author

Thanks for your help! @DanielRosenwasser

@DanielRosenwasser
Copy link
Member

Glad to help!

@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants