==== tests/cases/conformance/classes/members/accessibility/classPropertyIsPublicByDefault.ts (4 errors) ==== class C { x: string; get y() { return null; } ~ !!! Accessors are only available when targeting ECMAScript 5 and higher. set y(x) { } ~ !!! Accessors are only available when targeting ECMAScript 5 and higher. foo() { } static a: string; static get b() { return null; } ~ !!! Accessors are only available when targeting ECMAScript 5 and higher. static set b(x) { } ~ !!! Accessors are only available when targeting ECMAScript 5 and higher. static foo() { } } var c: C; c.x; c.y; c.y = 1; c.foo(); C.a; C.b(); C.b = 1; C.foo();