-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Exact
does not work with Opaque
after 2.19.0
#508
Comments
Most likely this change: edcad04 |
// @zorji |
Sorry for the late reply. Let me have a look. |
Hi @eugene-mohc Sorry I am not familiar with I am wondering whether the solution to check if it's an Opaque type and return the type as it is can solve the issue. Would you able to checkout the change in this branch and see if that fixes the issue for you? #525 |
Hi and thank you, that has solved it for my use cases. I was only using |
Exact
no longer works when there are any object properties which have a type created usingOpaque
. This used to work using version 2.18.0 and lower.Example using type-fest 2.18.0: https://codesandbox.io/s/twilight-shape-bc391p?file=/src/index.ts
Same example using latest version: https://codesandbox.io/s/boring-morse-96egn3?file=/src/index.ts
Upvote & Fund
The text was updated successfully, but these errors were encountered: