TypeScript/tests/cases/fourslash/unusedLocalsInFunction4.ts
Nathan Shively-Sanders 60efb65931
infer-from-usage suggestions can't be ignored, and always do something when invoked. (#28206)
* Do not ts-ignore noImplicitAny suggestions

Still need to write tests.

* Add tests

* More tests

* Update baselines
2018-10-29 13:23:33 -07:00

10 lines
265 B
TypeScript

/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
////function greeter() {
//// [| var x,y = 0,z = 1; |]
//// use(y, z);
////}
verify.rangeAfterCodeFix("var y = 0,z = 1;", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, 0);