TypeScript/tests/baselines/reference/staticGetter1.errors.txt
2014-07-12 17:30:19 -07:00

10 lines
280 B
Plaintext

==== tests/cases/compiler/staticGetter1.ts (1 errors) ====
// once caused stack overflow
class C {
static get x() {
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
return this;
}
}