swc/crates/swc_ecma_parser/tests/tsc/emitRestParametersFunctionES6.ts

3 lines
92 B
TypeScript

// @target: es6
function bar(...rest) { }
function foo(x: number, y: string, ...rest) { }