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
Type '<T>(x: <G extends boolean>() => Type<G, T>) => void' is not assignable to type 'U'.
Types of parameters 'x' and 'x' are incompatible.
Type 'Type<G, T>' is not assignable to type 'Type<G, number>'.
Type '(input: number) => T' is not assignable to type '(input: number) => number'.
Type 'T' is not assignable to type 'number'.
TypeScript Version: 3.5.0-dev.20190504
Search Terms:
Two different types with this name exist, but they are unrelated.
Code
Expected behavior:
No error
Actual behavior:
Error
Playground Link:
link
Related Issues:
#26627
#25373
The text was updated successfully, but these errors were encountered: