TypeScript/tests/cases/fourslash/importNameCodeFix_withJson.ts
Andrew Branch 03c79d7422
Insert auto-imports in sorted order (#39394)
* Sort auto-imports

* Avoid re-checking sort all the time

* Add comment
2020-07-08 15:25:04 -07:00

16 lines
259 B
TypeScript

/// <reference path="fourslash.ts" />
// @Filename: /a.ts
////export const a = 'a';
// @Filename: /b.ts
////import "./anything.json";
////
////a/**/
goTo.file("/b.ts");
verify.importFixAtPosition([`import { a } from "./a";
import "./anything.json";
a`]);