Merge pull request #21990 from Microsoft/documentExportAssignment

Document 'ExportAssignment' slightly.
This commit is contained in:
Daniel Rosenwasser 2018-02-20 15:03:32 -08:00 committed by GitHub
commit 0559151eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

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;

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;

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;