mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Rename bindings to namedBindings in ImportClause
This commit is contained in:
parent
69fef6e544
commit
d296a10096
@ -4621,7 +4621,7 @@ module ts {
|
||||
// parse namespace or named imports
|
||||
if (!importClause.defaultBinding ||
|
||||
parseOptional(SyntaxKind.CommaToken)) {
|
||||
importClause.bindings = token === SyntaxKind.AsteriskToken ? parseNamespaceImport() : parseNamedImports();
|
||||
importClause.namedBindings = token === SyntaxKind.AsteriskToken ? parseNamespaceImport() : parseNamedImports();
|
||||
}
|
||||
|
||||
parseExpected(SyntaxKind.FromKeyword);
|
||||
|
||||
@ -875,7 +875,7 @@ module ts {
|
||||
|
||||
export interface ImportClause extends Node {
|
||||
defaultBinding?: Identifier;
|
||||
bindings?: NamespaceImport | NamedImports;
|
||||
namedBindings?: NamespaceImport | NamedImports;
|
||||
}
|
||||
|
||||
export interface NamespaceImport extends Declaration {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user