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
Despite the comment #12253 (comment)
I would proceed the discussion with just a little suggestion:
the Object.keys function should look like: keys<T extends {}>(o: T): Array<keyof T>;
The text was updated successfully, but these errors were encountered:
Boeny
changed the title
Object.keys must use keyof of generic type <T extended object>, but not just <T>
Object.keys must use keyof of generic type <T extends object>, not just <T>
Apr 4, 2019
Despite the comment #12253 (comment)
I would proceed the discussion with just a little suggestion:
the
Object.keys
function should look like:keys<T extends {}>(o: T): Array<keyof T>;
The text was updated successfully, but these errors were encountered: