9 lines
441 B
Plaintext
9 lines
441 B
Plaintext
tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName23.ts(2,9): error TS1086: An accessor cannot be declared in an ambient context.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName23.ts (1 errors) ====
|
|
declare class C {
|
|
get [e](): number
|
|
~~~
|
|
!!! error TS1086: An accessor cannot be declared in an ambient context.
|
|
} |