==== tests/cases/compiler/getterMissingReturnError.ts (2 errors) ==== class test { public get p2(){ ~~ !!! Accessors are only available when targeting ECMAScript 5 and higher. ~~ !!! A 'get' accessor must return a value or consist of a single 'throw' statement. } }