6 lines
No EOL
228 B
Text
6 lines
No EOL
228 B
Text
==== tests/cases/conformance/parser/ecmascript5/Accessors/parserAccessors5.ts (1 errors) ====
|
|
declare class C {
|
|
get foo() { return 0; }
|
|
~~~
|
|
!!! An accessor cannot be declared in an ambient context.
|
|
} |