TypeScript/tests/cases/fourslash/unusedVariableInNamespace2.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

16 lines
363 B
TypeScript

/// <reference path='fourslash.ts' />
// @noUnusedLocals: true
////namespace greeter {
//// [|let a = "dummy entry", b, c = 0;|]
//// export function function1() {
//// use(a, c);
//// }
////}
verify.codeFix({
description: "Remove declaration for: 'b'",
index: 0,
newRangeContent: 'let a = "dummy entry", c = 0;',
});