mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 15:25:54 -06:00
Merge pull request #21990 from Microsoft/documentExportAssignment
Document 'ExportAssignment' slightly.
This commit is contained in:
commit
0559151eb2
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user