TypeScript/tests/cases/fourslash/codeFixInferFromUsageRestParam3.ts

9 lines
199 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @noImplicitAny: true
////function f(a: number, [|...rest |]){
//// a;
//// rest.push(22);
////}
verify.rangeAfterCodeFix("...rest: number[]");