class a { static get x(): () => string { return null; } } class b extends a { static x() { return "20"; } }