-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
MergeDeep is never when compiled to .d.ts #780
Comments
@sindresorhus hi, sorry to tag but it's a bit important for my project. Any ideas of what could be causing this issue? Thanks! |
First, make sure you are on the latest We cannot really do much based on a screenshot. If you want to see this fixed sooner, I recommend submitting a minimal failing test: https://github.com/sindresorhus/type-fest/blob/main/test-d/merge-deep.ts |
Thanks |
using strict TS config solves the problem, may I know why? Thanks! |
I haven't look into it, but certain types are more limited when strict mode is off. |
I'm trying to use MergeDeep to redefine certain types from the type generation Supabase CLI does, like it says in the guide.
When I write the code, it works well, but when it is compiled to d.ts, it is never:
Any ideas? Thanks!
Upvote & Fund
The text was updated successfully, but these errors were encountered: