-
-
Notifications
You must be signed in to change notification settings - Fork 433
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
Cannot find typings with typescript@beta and @type #247
Comments
I have the same issue. I also had issues on VSCode, but they helped me to solve that by doing this: microsoft/TypeScript#9725 (comment) But this is not enough to solve |
As specified in #243, adding "compilerOptions": {
...
"types": ["react", ...]
} to tsconfig.json makes it work, but this should clearly not be neccessary, since |
any update? |
I believe this is a fairly trivial fix to do, but I haven't been working on the project as the state of the tests are broken. If someone would care to improve the situation, I can work on new features. |
I have a fork to support TypeScript in Vue. I have fixed most tests in TS1.8. https://github.com/HerringtonDarkholme/vue-ts-loader |
Yes, I have tried add @types support. Quite easy to implement. But the tests are really really fragile.... |
Yes, the tests are a pain for me also. The implementation for |
any ideas how to fix this: ├── [email protected] |
@quantuminformation Please don't fill up issues with unrelated problems. If you need help, there's Gitter, Google or a new issue. Most likely, some package you've installed specifies a peer dependency on Edit: If you did an |
@HerringtonDarkholme could you please make a PR, then the function can be merged to master branch. |
I figured it out, guys. It starts working with the following compilerOption settings: "moduleResolution": "node",
"allowSyntheticDefaultImports": true, |
@theduke setting those flags does not work for us. this still feels like a bug in ts-loader. |
Any news on this? Typescript 2 is no longer in beta and typings are deprecated. |
My fork has added types support, but still cannot get all tests passed. You can also have a look on awesome typescript loader. |
We switched to ATL and it works fine. |
Can also confirm that ATL works fine, thanks @HerringtonDarkholme for the suggestion. |
Same for me. ATL just worked. |
Hi @HerringtonDarkholme, (or anyone else!) Would you be interested in submitting a PR so we could get types support into ts-loader proper? We'd be glad to get this issue resolved! BTW tests should all be passing now. |
Hopefully this should be resolved by: #318 |
Resolved - 🚢 with 0.9.2 |
My problem same as in #243
After installing @types/node i got multiple errors:
I add all definitions to
types
But as said https://github.com/mhegazy in DefinitelyTyped/DefinitelyTyped#10113 (comment)
2.0.0-beta compiler.
project: https://github.com/sanex3339/javascript-obfuscator/tree/dev
project tsconfig:
entry point
to reproduce you must clone
dev
branch, and runnode_modules/.bin/webpack --watch
The text was updated successfully, but these errors were encountered: