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
const identity = <T>(arg: T): T => arg;
should actually be: const identity = <T extends {}>(arg: T): T => arg;
if the file type is tsx (but you could just always do that)
The text was updated successfully, but these errors were encountered:
const identity = <T>(arg: T): T => arg;
should actually be:
const identity = <T extends {}>(arg: T): T => arg;
if the file type is tsx (but you could just always do that)
The text was updated successfully, but these errors were encountered: