@@ -878,13 +878,13 @@ module ts {
878
878
}
879
879
880
880
// In case of:
881
- // import d from "mod" => defaultBinding = d, namedBinding = undefined
882
- // import * as ns from "mod" => defaultBinding = undefined, namedBinding: NamespaceImport = { name: ns }
883
- // import d, * as ns from "mod" => defaultBinding = d, namedBinding: NamespaceImport = { name: ns }
884
- // import { a, b as x } from "mod" => defaultBinding = undefined, namedBinding: NamedImports = { elements: [{ name: a }, { name: x, propertyName: b}]}
885
- // import d, { a, b as x } from "mod" => defaultBinding = d, namedBinding: NamedImports = { elements: [{ name: a }, { name: x, propertyName: b}]}
886
- export interface ImportClause extends Node {
887
- defaultBinding ?: Identifier ;
881
+ // import d from "mod" => name = d, namedBinding = undefined
882
+ // import * as ns from "mod" => name = undefined, namedBinding: NamespaceImport = { name: ns }
883
+ // import d, * as ns from "mod" => name = d, namedBinding: NamespaceImport = { name: ns }
884
+ // import { a, b as x } from "mod" => name = undefined, namedBinding: NamedImports = { elements: [{ name: a }, { name: x, propertyName: b}]}
885
+ // import d, { a, b as x } from "mod" => name = d, namedBinding: NamedImports = { elements: [{ name: a }, { name: x, propertyName: b}]}
886
+ export interface ImportClause extends Declaration {
887
+ name ?: Identifier ; // Default binding
888
888
namedBindings ?: NamespaceImport | NamedImports ;
889
889
}
890
890
0 commit comments