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

10 lines
377 B
Plaintext

==== tests/cases/compiler/staticGetterAndSetter.ts (2 errors) ====
class Foo {
static get Foo():number { return 0; }
~~~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
static set Foo(n: number) {}
~~~
!!! Accessors are only available when targeting ECMAScript 5 and higher.
}