7 lines
No EOL
424 B
Text
7 lines
No EOL
424 B
Text
tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors3.ts(1,15): error TS2378: A 'get' accessor must return a value or consist of a single 'throw' statement.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors3.ts (1 errors) ====
|
|
var v = { get Foo() { } };
|
|
~~~
|
|
!!! error TS2378: A 'get' accessor must return a value or consist of a single 'throw' statement. |