TypeScript/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.types

19 lines
267 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== 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";
}
}