TypeScript/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.types
2014-08-15 14:37:48 -07:00

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";
}
}