class Class<T> {
a: (b: T) => string
}
class Class2 extends Class<number> {
a = b => 'b' // ERROR: Parameter 'b' implicitly has an 'any' type.
}
Expected: b should be a number
Actual: b is any
This is likely tracked already, but I was not able to find it. Filing here just in case.
Expected:
bshould be anumberActual:
bisanyThis is likely tracked already, but I was not able to find it. Filing here just in case.