-
-
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
[4.8.0] type error on jsonify #758
Comments
can also be seen in a dependabot PR: wixplosives/resolve-directory-context#288 |
@Emiyaaaaa Would be great if you could add a test for this. |
ok, but look like typescript think |
@Emiyaaaaa Yeah, it probably needs a better fix too. It should not return |
with the new version, I get:
changing:
type JsonifyList<T extends unknown[]>
to:
type JsonifyList<T extends readonly unknown[]>
fixes the issue.
saw this in https://github.com/wixplosives/file-services when I've upgraded to
type-fest@4.8.0
Upvote & Fund
The text was updated successfully, but these errors were encountered: