Closed
Description
Likely an oversight but
let Anon = class <out T> {
foo(): InstanceType<(typeof Anon<T>)> {
return this;
}
}
let OuterC = class C<out T> {
foo(): C<T> {
return this;
}
}
Results in the following message:
error! 'out' modifier can only appear on a type parameter of a class, interface or type alias