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

11 lines
250 B
TypeScript

/// <reference path="fourslash.ts" />
//// import [|{ v1 }|] from "../other_dir/module";
//// f1/*0*/();
// @Filename: ../other_dir/module.ts
//// export var v1 = 5;
//// export function f1();
verify.importFixAtPosition([`{ f1, v1 }`]);