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