TypeScript/tests/baselines/reference/genericClassStaticMethod.types
2015-04-15 16:44:20 -07:00

22 lines
292 B
Plaintext

=== tests/cases/compiler/genericClassStaticMethod.ts ===
class Foo<T> {
>Foo : Foo<T>
>T : T
static getFoo() {
>getFoo : () => void
}
}
class Bar<T> extends Foo<T> {
>Bar : Bar<T>
>T : T
>Foo : Foo<T>
>T : T
static getFoo() {
>getFoo : () => void
}
}