mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-23 07:07:09 -05:00
fix export * as default syntax (#39803)
* fix export * as default syntax * update comments
This commit is contained in:
@@ -6996,7 +6996,7 @@ namespace ts {
|
||||
}
|
||||
|
||||
function parseNamespaceExport(pos: number): NamespaceExport {
|
||||
return finishNode(factory.createNamespaceExport(parseIdentifier()), pos);
|
||||
return finishNode(factory.createNamespaceExport(parseIdentifierName()), pos);
|
||||
}
|
||||
|
||||
function parseExportDeclaration(pos: number, hasJSDoc: boolean, decorators: NodeArray<Decorator> | undefined, modifiers: NodeArray<Modifier> | undefined): ExportDeclaration {
|
||||
|
||||
Reference in New Issue
Block a user