You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't find a precise issue that this is a duplicate of, but similar requests have been rejected before: #44000.
Generic type parameters that only appear in the output position of functions are just assertions in disguise, so why not just write that? It only costs two characters more.
Suggestion
The JSON.parse function should utilize a generic.
π Search Terms
JSON parse generic
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
Adding generics to JSON.parse
π Motivating Example
Removing refrence
π» Use Cases
Make it easier and more convinient to parse JSON.
The text was updated successfully, but these errors were encountered: