24842b4002
* When --noUnusedLocals/--noUnusedParameters is disabled, add suggestions instead of errors * Improve performance: do not add unused suggestion diagnostics unless asking for a suggestion * Add "unused" flag to diagnostics * Code review * reportsUnused -> reportsUnnecessary * Fix test
12 lines
246 B
TypeScript
12 lines
246 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: /a.ts
|
|
////import {} from "abs";
|
|
|
|
test.setTypesRegistry({
|
|
"abs": undefined,
|
|
});
|
|
|
|
// We only give the fix for an implicit-any module, not for a missing module.
|
|
verify.not.codeFixAvailable();
|