-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
🐛Deepmerge-ts now making typescript build hang / not responding #94
Comments
I forked the repo, https://github.com/fatihaziz/deepmerge-ts-es6/compare/main...fix/ts-issue-es6 but, I still don't know the reason behind it, why the tsc compiler become not responding... Could I upload this into npm? |
Give me a bit and I'll see if I can resolve this. |
this is the minimal repo: here |
Just started looking into this now. |
If we set the Typescript server won't bother checking the types error from modules anymore. Which we won't like to do. I think the problem is from the v04 types generated by rollup. But i never use rollup before, so i dont know what the purpose of it. |
What I've found so far it that it seems to be this type declaration that is causing the hang.
I don't know why yet. |
Maybe its goes like this:
Its weird and mindblowing for me since how types can make the compiler fall into indefinitely loophole. This is indicated by my laptop performance when i try to compile it, the fan speed rise up higher than usually. |
I'm trying to debug tsc atm to see what is going on. It's possible this is an upstream problem with TypeScript itself. |
Alright, i will wait for the updates then. |
So I'm not sure exactly what is going on but I think it is to do with the type complexity. |
this results in simpler dist types fix #94
## [4.0.3](v4.0.2...v4.0.3) (2022-04-06) ### Bug Fixes * use explict return types for function that return a HKT ([eb4183e](eb4183e)), closes [#94](#94)
🎉 This issue has been resolved in version 4.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Bug Report
It's started since last week, when I try to compile my typescript,
tsc
something wrong happen, it never done. something is stuck.
I tried to reinstall all node_modules, clean NPM cache, lastly I uninstall my node and change to version 16.14.2
none of them works...
then today, I try to install all my dependencies one by one and see if the tsc running / atleast throwing error.
when it comes to remove deepmerge-ts. it works, my tsc throwing error module not found.
having dependency to deepmerge-ts:
after removing
I tried with all version deepmerge-ts@3, @2, and @1, none of them work...
deepmerge-ts is awesome library that I need for my project, I hope it can be solved.
Expected behavior
Won't affect to tsc compiler behavior
Actual behavior
It make tsc compiler stuck
Steps to reproduce
npm i deepmerge-ts
npm run build
ortsc
System Environtment
Files:
tsconfig.json:
The text was updated successfully, but these errors were encountered: