9 lines
370 B
Plaintext
9 lines
370 B
Plaintext
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.
|
|
} |