TypeScript/tests/baselines/reference/restParamModifier2.errors.txt
Jason Freeman 35db9f68f4 Add tests
2015-07-02 16:13:47 -07:00

9 lines
283 B
Plaintext

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.
}