/// <reference path='fourslash.ts' />

// @strict: false
// @noImplicitAny: true
////function f(a: number, [|...rest |]){
////    a; rest;
////}
////f(1);
////f(2, "s1");
////f(3, false, "s2");
////f(4, "s1", "s2", false, "s4");

verify.rangeAfterCodeFix("...rest: (string | boolean)[]");
