mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
New Import declaration syntax makes the source file external module
This commit is contained in:
1 parent
62ed6183d9
commit
a9575a509e
1 file changed
+1
@@ -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