19 lines
267 B
Plaintext
19 lines
267 B
Plaintext
=== 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";
|
|
}
|
|
}
|