mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-19 12:45:58 -05:00
Component commits:
2c0e01aa94 Fix misplaced comma in auto imported specifier
Co-authored-by: Andrew Branch <andrew@wheream.io>
This commit is contained in:
@@ -700,7 +700,7 @@ namespace ts.codefix {
|
||||
}
|
||||
else if (existingSpecifiers?.length) {
|
||||
for (const spec of newSpecifiers) {
|
||||
changes.insertNodeAtEndOfList(sourceFile, existingSpecifiers, spec);
|
||||
changes.insertNodeInListAfter(sourceFile, last(existingSpecifiers), spec, existingSpecifiers);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user