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
src/a.ts(12,79): errorTS2345: Argumentoftype'{ (list: ReadonlyArray<number>): ReadonlyArray<number>; (x: ReadonlySet<number>): ReadonlySet<num...'isnotassignabletoparameteroftype'(x: ReadonlyArray<number>) => ReadonlySet<number>'.Type 'ReadonlyArray<number>' is not assignable to type 'ReadonlySet<number>'.Property 'has' is missing in type 'ReadonlyArray<number>'.
Unlike the above issue, this was broken in all the way back in 2.0.
Tried fixing this, but ran into another case where an overload breaks type inference:
Unlike the above issue, this was broken in all the way back in
2.0
.Originally posted by @Andy-MS in #23352 (comment)
The text was updated successfully, but these errors were encountered: