Commit 87b670a
Port getFixesInfoForNonUMDImport to use new autoimport.View
- Replace getExportInfos() with view.Search() to find exports
- Replace getImportFixes() with view.GetFixes() for each export
- Use autoimport.Fix.Edits() instead of codeActionForFixWorker for new fixes
- Export View.CompareFixes for use in sorting
- Keep UMD and type-only promotion using old stack for now (via oldFix field)
- Update sortFixInfo to handle both new and old-style fixes
Co-authored-by: andrewbranch <3277153+andrewbranch@users.noreply.github.com>1 parent 732793f commit 87b670a
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
388 | 391 | | |
389 | 392 | | |
390 | 393 | | |
391 | | - | |
392 | | - | |
| 394 | + | |
393 | 395 | | |
394 | 396 | | |
395 | 397 | | |
| |||
0 commit comments