==== tests/cases/compiler/genericGetter2.ts (2 errors) ==== class A { } class C { data: A; get x(): A { ~ !!! Accessors are only available when targeting ECMAScript 5 and higher. ~ !!! Generic type 'A' requires 1 type argument(s). return this.data; } }