Skip to content

Commit 06286e7

Browse files
Document 'ExportAssignment' slightly.
1 parent 02e7984 commit 06286e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/compiler/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2199,6 +2199,10 @@ namespace ts {
21992199

22002200
export type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier;
22012201

2202+
/**
2203+
* This is either an `export =` or an `export default` declaration.
2204+
* Unless `isExportEquals` is set, this node was parsed as an `export default`.
2205+
*/
22022206
export interface ExportAssignment extends DeclarationStatement {
22032207
kind: SyntaxKind.ExportAssignment;
22042208
parent?: SourceFile;

0 commit comments

Comments
 (0)