Open mikesamuel opened 8 months ago
let f<T extends Bubble>(): Null | T { null } fails without explanation.
let f<T extends Bubble>(): Null | T { null }
It should not fail, but also, having a formal type definition with an invalid bound should not fail silently.
let f<T extends Bubble>(): Null | T { null }
fails without explanation.It should not fail, but also, having a formal type definition with an invalid bound should not fail silently.