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
TS(2349), because the signatures of the possible someArray.every calls conflict with each other.
π Expected behavior
The someArray.every call should compile for all possible values of someArray.
Notes from the issue author
This is similar to #40157, but that issue uses a union of an array and 2D array.
Could be similar to #40217, but the error there was marked in a function call inside of the .every callback.
This issue is also reproducible using ReadonlyArray, see the playground for that.
The text was updated successfully, but these errors were encountered:
π Search Terms
.every, ReadonlyArray#every, array.every
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
TS(2349), because the signatures of the possible someArray.every calls conflict with each other.
π Expected behavior
The someArray.every call should compile for all possible values of
someArray
.Notes from the issue author
This is similar to #40157, but that issue uses a union of an array and 2D array.
Could be similar to #40217, but the error there was marked in a function call inside of the .every callback.
This issue is also reproducible using ReadonlyArray, see the playground for that.
The text was updated successfully, but these errors were encountered: