2014-08-15 23:33:16 +02:00
|
|
|
=== 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
|
2014-08-19 04:56:03 +02:00
|
|
|
>Foo : Foo<T>
|
2014-08-15 23:33:16 +02:00
|
|
|
|