mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Component commits:
4baff1b241 moveToNewFile: handle namespace imports too
Fixes #35591
Co-authored-by: Eli Barzilay <eli@barzilay.org>
This commit is contained in:
1 parent
d906a471dd
commit
ef028bcd08
3 files changed
+37
No files matched your search
@@ -533,6 +533,7 @@ namespace ts.refactor {
|
||||
case SyntaxKind.ImportEqualsDeclaration:
|
||||
case SyntaxKind.ImportSpecifier:
|
||||
case SyntaxKind.ImportClause:
|
||||
case SyntaxKind.NamespaceImport:
|
||||
return true;
|
||||
case SyntaxKind.VariableDeclaration:
|
||||
return isVariableDeclarationInImport(decl as VariableDeclaration);
|
||||
|
||||
Reference in new issue
Block a user