type(node/swc): Allow null for NamedExportSpecifier.exported (#3010)

This commit is contained in:
Yunfei He 2021-12-11 15:23:41 +08:00 committed by GitHub
parent e0c8bbf7a0
commit bdea89dd95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1566,7 +1566,7 @@ export interface NamedExportSpecifier extends Node, HasSpan {
/** /**
* `Some(bar)` in `export { foo as bar }` * `Some(bar)` in `export { foo as bar }`
*/ */
exported: Identifier; exported: Identifier | null;
} }
interface HasInterpreter { interface HasInterpreter {