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
{{ message }}
Repository navigation
Comparison targets are reversed (regression) #30118
Argument of type 'this' is not assignable to parameter of type 'Supervisor<string, unknown, unknown, unknown>'.
Type 'Supervisor<N, P, R, S>' is not assignable to type 'Supervisor<string, unknown, unknown, unknown>'.
Type 'string' is not assignable to type 'N'.ts(2345)
Assignability checking must be N to string, not reverse.
Activity
RyanCavanaugh commentedon Feb 27, 2019
falsandtru (@falsandtru) please provide a reduced repro - thanks!
jack-williams commentedon Feb 27, 2019
falsandtru (@falsandtru) Is this a repro?
falsandtru commentedon Feb 27, 2019
Ryan Cavanaugh (@RyanCavanaugh) Repro
Jack Williams (@jack-williams) No. The type parameters in your repro are not reversed.
jack-williams commentedon Feb 27, 2019
falsandtru (@falsandtru) Yep, sorry. What about this?
falsandtru commentedon Feb 27, 2019
Looks like good except an illegal
!at the second line.