-
-
Notifications
You must be signed in to change notification settings - Fork 433
Cannot find typings with typescript@beta and @types #243
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
Comments
Have you tried debugging anything or running it with |
Yeah, sure. When I run tsc standalone it works well (I get one error in angular2, but this is another problem ;)) |
And is that a global version or a local version? |
tsc? it is a global version, but the same version |
Can you provide a reproduction for someone to look over? |
Sorry to waste your time. I was just too lazy to read the documentation carefully. I just have to add the typings to the types folder. |
Hi, I reproduced this problem. https://github.com/seanchas116/ts-loader-global-types In this project, |
I realized that I have to add the 3 typings packages to the types config: types: ['core-js', 'node', 'jasmine'] Dont know why it works with tsc, but it works fine now. |
Specifying |
i do not know why close the issue? |
@gxsjtu make a PR. There's duplicate issues for this which you have already commented on. |
Hi,
I am testing the new beta version of ts 2.0. In Visual Studio Code everything looks fine, but when I run my webpack build I get a lot of erros like
"Cannot find name Promise"
"Cannot find name Require"
I have added the same typings than before using the @types/... npm modules.
The text was updated successfully, but these errors were encountered: