24 lines
307 B
Plaintext
24 lines
307 B
Plaintext
=== tests/cases/compiler/inheritanceStaticFuncOverridingMethod.ts ===
|
|
class a {
|
|
>a : a
|
|
|
|
static x() {
|
|
>x : () => string
|
|
|
|
return "10";
|
|
>"10" : string
|
|
}
|
|
}
|
|
|
|
class b extends a {
|
|
>b : b
|
|
>a : a
|
|
|
|
static x() {
|
|
>x : () => string
|
|
|
|
return "20";
|
|
>"20" : string
|
|
}
|
|
}
|