diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index c24780fe6d7..f48ad223ffb 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -24805,10 +24805,7 @@ namespace ts { switch (name.parent.kind) { case SyntaxKind.ImportSpecifier: case SyntaxKind.ExportSpecifier: - if ((name.parent as ImportOrExportSpecifier).propertyName) { - return true; - } - // falls through + return true; default: return isDeclarationName(name); }