From 06286e760a7771e099f739e4f2bf09f94968728e Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 16 Feb 2018 01:17:45 -0800 Subject: [PATCH] Document 'ExportAssignment' slightly. --- src/compiler/types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 481b91c9276..ff9f99ccd49 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -2199,6 +2199,10 @@ namespace ts { export type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier; + /** + * This is either an `export =` or an `export default` declaration. + * Unless `isExportEquals` is set, this node was parsed as an `export default`. + */ export interface ExportAssignment extends DeclarationStatement { kind: SyntaxKind.ExportAssignment; parent?: SourceFile;