15 lines
222 B
Plaintext
15 lines
222 B
Plaintext
=== tests/cases/compiler/nonGenericClassExtendingGenericClassWithAny.ts ===
|
|
class Foo<T> {
|
|
>Foo : Foo<T>
|
|
>T : T
|
|
|
|
t: T;
|
|
>t : T
|
|
>T : T
|
|
}
|
|
|
|
class Bar extends Foo<any> { } // Valid
|
|
>Bar : Bar
|
|
>Foo : Foo<any>
|
|
|