TypeScript/tests/baselines/reference/restParamModifier2.errors.txt

9 lines
283 B
Plaintext
Raw Normal View History

2015-07-03 01:13:47 +02:00
tests/cases/compiler/restParamModifier2.ts(2,24): error TS1005: ',' expected.
==== tests/cases/compiler/restParamModifier2.ts (1 errors) ====
class C {
constructor(public ...rest: string[]) {}
~~~
!!! error TS1005: ',' expected.
}