9 lines
No EOL
401 B
Text
9 lines
No EOL
401 B
Text
tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList3.ts(2,9): error TS1016: A required parameter cannot follow an optional parameter.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/ParameterLists/parserParameterList3.ts (1 errors) ====
|
|
class C {
|
|
F(A?, B) { }
|
|
~
|
|
!!! error TS1016: A required parameter cannot follow an optional parameter.
|
|
} |