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