mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 11:24:29 -05:00
New Import declaration syntax makes the source file external module
This commit is contained in:
@@ -4874,6 +4874,7 @@ module ts {
|
||||
node.flags & NodeFlags.Export
|
||||
|| node.kind === SyntaxKind.ImportEqualsDeclaration && (<ImportEqualsDeclaration>node).moduleReference.kind === SyntaxKind.ExternalModuleReference
|
||||
|| node.kind === SyntaxKind.ExportAssignment
|
||||
|| node.kind === SyntaxKind.ImportDeclaration
|
||||
? node
|
||||
: undefined);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user