9 lines
No EOL
370 B
Text
9 lines
No EOL
370 B
Text
tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList9.ts(2,14): error TS1047: A rest parameter cannot be optional.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList9.ts (1 errors) ====
|
|
class C {
|
|
foo(...bar?) { }
|
|
~
|
|
!!! error TS1047: A rest parameter cannot be optional.
|
|
} |