9 lines
No EOL
437 B
Text
9 lines
No EOL
437 B
Text
tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration18.ts(2,12): error TS1053: A 'set' accessor cannot have rest parameter.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration18.ts (1 errors) ====
|
|
class C {
|
|
set Foo(...a) { }
|
|
~~~
|
|
!!! error TS1053: A 'set' accessor cannot have rest parameter.
|
|
} |