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

9 lines
430 B
Plaintext
Raw Normal View History

tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors1.ts(2,9): error TS2378: A 'get' accessor must return a value or consist of a single 'throw' statement.
2014-07-13 01:04:16 +02:00
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors1.ts (1 errors) ====
class C {
get Foo() { }
~~~
!!! error TS2378: A 'get' accessor must return a value or consist of a single 'throw' statement.
2014-07-13 01:04:16 +02:00
}