TypeScript/tests/cases/compiler/restParamModifier2.ts

3 lines
58 B
TypeScript
Raw Normal View History

2015-07-03 01:13:47 +02:00
class C {
constructor(public ...rest: string[]) {}
}