22 lines
292 B
Plaintext
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
|
|
}
|
|
}
|
|
|