TypeScript/tests/baselines/reference/staticGetter1.errors.txt

10 lines
280 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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;
}
}