mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
365 B
TypeScript
25 lines
365 B
TypeScript
//// [tests/cases/compiler/genericClassStaticMethod.ts] ////
|
|
|
|
//// [genericClassStaticMethod.ts]
|
|
class Foo<T> {
|
|
static getFoo() {
|
|
}
|
|
}
|
|
|
|
class Bar<T> extends Foo<T> {
|
|
static getFoo() {
|
|
}
|
|
}
|
|
|
|
|
|
//// [genericClassStaticMethod.js]
|
|
"use strict";
|
|
class Foo {
|
|
static getFoo() {
|
|
}
|
|
}
|
|
class Bar extends Foo {
|
|
static getFoo() {
|
|
}
|
|
}
|