TypeScript/tests/cases/fourslash/codeFixInferFromUsage.ts

9 lines
237 B
TypeScript
Raw Normal View History

/// <reference path='fourslash.ts' />
// @noImplicitAny: true
////[|var foo;|]
////function f() {
//// foo += 2;
////}
verify.rangeAfterCodeFix("var foo: number;",/*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, 0);