TypeScript/tests/cases/fourslash/unusedImportDeclaration_withEmptyPath3.ts

24 lines
434 B
TypeScript

/// <reference path='fourslash.ts' />
// @Filename: /a.ts
////// leading trivia
////import { b } from "./b";
////import { c } from "./c";
////import * as foo from "";
// @Filename: /b.ts
////export const b = null;
// @Filename: /c.ts
////export const c = null;
verify.codeFix({
index: 2,
description: "Remove import from ''",
newFileContent:
`// leading trivia
import { b } from "./b";
import { c } from "./c";
`,
});