Can somebody explain why the following isn't allowed in Typescript?
interface Base<T> {
}
interface SomeInterface<First, Second extends Base<First>> {
}
For some reason I do not understand, it is not possible to refer to type First in Base<First>.
The error is: Constraint of type parameter cannot reference any type parameter from the same parameter list.