Conflicts: src/compiler/checker.ts src/compiler/diagnosticInformationMap.generated.ts src/compiler/emitter.ts tests/baselines/reference/es6ImportDefaultBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
12 lines
382 B
TypeScript
12 lines
382 B
TypeScript
// @target: es6
|
|
// @declaration: true
|
|
// @declaration: true
|
|
|
|
// @filename: es6ImportDefaultBinding_0.ts
|
|
var a = 10;
|
|
export default a;
|
|
|
|
// @filename: es6ImportDefaultBinding_1.ts
|
|
import defaultBinding from "es6ImportDefaultBinding_0";
|
|
var x = defaultBinding;
|
|
import defaultBinding2 from "es6ImportDefaultBinding_0"; // elide this import since defaultBinding2 is not used
|