-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
@types not working with 3.0.2 #657
Comments
@ldrick I'm guessing this is going to be the same as #655. Essentially I think you can fix this by either supplying ts-loader with the option I believe there is a bug in ts-loader around the |
@johnnyreilly Thanks, allowJs is truthy needed in my project. But |
Thanks @ldrick - I appreciate it! |
@johnnyreilly I got through some strange things, but could reproduce exact my error like this: I know types are not installed for date-fns, but they are not required. |
Thanks @ldrick - I'll take a look! |
Hopefully this will be fixed with #658 (testing now) |
Fix released with 3.0.3 |
Hey, I'm trying to download 3.0.3 via npm and I'm getting "No matching version found for [email protected]". Has it officially been published yet? Thank you! |
Yup - shipped. Other people have reported it working so downloading must be happening... |
It appears to be a caching issue on my end. |
Well cache invalidation is famously hard 😉 |
Just want to confirm, that everything works smooth on my side since 3.0.3 and I removed the |
Brilliant! |
I encountered a couple of Errors saying things like:
ERROR in ./[...]/SimpleDateFormat.ts [tsl] ERROR in /home/[...]/SimpleDateFormat.ts(1,52) TS7016: Could not find a declaration file for module 'date-fns'. '/home/[...]/node_modules/date-fns/esm/index.js' implicitly has an 'any' type. Try
npm install @types/date-fnsif it exists or add a new declaration (.d.ts) file containing
declare module 'date-fns';These @types are all installed and tsc is working smooth with them. Until today I used [email protected] and it worked. If you need further information, please come back to me, thanks.
The text was updated successfully, but these errors were encountered: