class A { static get; foo() {} } class B { static get = 1; foo() {} }