TypeScript/tests/cases/fourslash/codeFixInferFromUsageAddition.ts

10 lines
239 B
TypeScript
Raw Normal View History

2019-09-07 00:15:19 +02:00
/// <reference path='fourslash.ts' />
// @noImplicitAny: true
//// function foo([|a, m |]) {
//// return a + m
//// }
verify.rangeAfterCodeFix("a: any, m: any", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, /*index*/0);