component Comp1(...rest) {}

component Comp2(...rest: TRest) {}

component Comp3(param, ...rest) {}

component Comp4(param: TParam, ...rest: TRest) {}

component Comp5(param: TParam, ...rest: TRest,) {}
