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

23 lines
772 B
Plaintext

==== tests/cases/compiler/declFilePrivateStatic.ts (4 errors) ====
class C {
private static x = 1;
static y = 1;
private static a() { }
static b() { }
private static get c() { return 1; }
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
static get d() { return 1; }
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
private static set e(v) { }
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
static set f(v) { }
~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
}