6 lines
No EOL
210 B
Text
6 lines
No EOL
210 B
Text
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList9.ts (1 errors) ====
|
|
class C {
|
|
foo(...bar?) { }
|
|
~~~
|
|
!!! A rest parameter cannot be optional.
|
|
} |