-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add @total-typescript/ts-reset
for better standard library types
#20553
Comments
I see |
Lines 3 to 6 in eee2b05
Currently its type signature is wrong. It should be |
we should now use the node structuredClone function, as we're now on node v18 |
Describe the proposed change(s).
@total-typescript/ts-reset
improves some of the types in the standard library. For example:JSON.parse
returnunknown
instead ofany
.filter(Boolean)
filter out falsy valuesany[]
fromArray.isArray()
Discussed in slack
The text was updated successfully, but these errors were encountered: