2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/genericClassStaticMethod.ts ===
|
|
|
|
class Foo<T> {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Foo : Foo<T>, Symbol(Foo, Decl(genericClassStaticMethod.ts, 0, 0))
|
|
|
|
>T : T, Symbol(T, Decl(genericClassStaticMethod.ts, 0, 10))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
static getFoo() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>getFoo : () => void, Symbol(Foo.getFoo, Decl(genericClassStaticMethod.ts, 0, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Bar<T> extends Foo<T> {
|
2015-04-13 23:01:57 +02:00
|
|
|
>Bar : Bar<T>, Symbol(Bar, Decl(genericClassStaticMethod.ts, 3, 1))
|
|
|
|
>T : T, Symbol(T, Decl(genericClassStaticMethod.ts, 5, 10))
|
|
|
|
>Foo : Foo<T>, Symbol(Foo, Decl(genericClassStaticMethod.ts, 0, 0))
|
|
|
|
>T : T, Symbol(T, Decl(genericClassStaticMethod.ts, 5, 10))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
static getFoo() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>getFoo : () => void, Symbol(Bar.getFoo, Decl(genericClassStaticMethod.ts, 5, 29))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|