Merge pull request #21990 from Microsoft/documentExportAssignment

Document 'ExportAssignment' slightly.
This commit is contained in:
Daniel Rosenwasser authored and GitHub committed 2018-02-20 15:03:32 -08:00
commit 0559151eb2
3 files changed
+12

No files matched your search

+4
View File
@@ -2220,6 +2220,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;
+4
View File
@@ -1412,6 +1412,10 @@ declare namespace ts {
name: Identifier;
}
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`.
*/
interface ExportAssignment extends DeclarationStatement {
kind: SyntaxKind.ExportAssignment;
parent?: SourceFile;
+4
View File
@@ -1412,6 +1412,10 @@ declare namespace ts {
name: Identifier;
}
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`.
*/
interface ExportAssignment extends DeclarationStatement {
kind: SyntaxKind.ExportAssignment;
parent?: SourceFile;