TypeScript/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.types
2015-04-15 16:44:20 -07:00

20 lines
283 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";
>"20" : string
}
}