Reprioritize cross-project module specifier suggestions for auto-import (#40253)

* Add test

* Suggest `paths` module specifiers even when a node_modules path was available

* Fix some tests

* Fix remaining tests

* Add comments
This commit is contained in:
Andrew Branch
2020-09-03 14:00:06 -07:00
committed by GitHub
parent db5f519514
commit 8ffb7f083d
11 changed files with 444 additions and 44 deletions

View File

@@ -149,7 +149,7 @@ fnErr();
{ line: 4, offset: 5 },
{ line: 4, offset: 10 },
Diagnostics.Module_0_has_no_exported_member_1,
[`"../decls/fns"`, "fnErr"],
[`"../dependency/fns"`, "fnErr"],
"error",
)
],