Conflicts: src/compiler/diagnosticInformationMap.generated.ts src/compiler/diagnosticMessages.json src/compiler/program.ts tests/baselines/reference/constDeclarations-access5.errors.txt tests/baselines/reference/es6ExportAssignment.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.js tests/baselines/reference/es6ImportDefaultBindingMergeErrors.errors.txt tests/baselines/reference/es6ImportEqualsDeclaration.errors.txt tests/cases/compiler/es6ImportDefaultBinding.ts tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport.ts tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImport1.ts tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamedImportDts.ts tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding.ts tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding1.ts tests/cases/compiler/es6ImportDefaultBindingMergeErrors.ts tests/cases/compiler/es6ImportDefaultBindingNoDefaultProperty.ts tests/cases/compiler/es6ImportNameSpaceImport.ts tests/cases/compiler/es6ImportNamedImport.ts tests/cases/compiler/es6ImportNamedImportMergeErrors.ts tests/cases/compiler/es6ImportNamedImportNoExportMember.ts tests/cases/compiler/es6ImportWithoutFromClause.ts tests/cases/compiler/es6ImportWithoutFromClauseNonInstantiatedModule.ts
18 lines
423 B
JavaScript
18 lines
423 B
JavaScript
//// [tests/cases/compiler/es6ImportDefaultBinding.ts] ////
|
|
|
|
//// [es6ImportDefaultBinding_0.ts]
|
|
|
|
export var a = 10;
|
|
|
|
//// [es6ImportDefaultBinding_1.ts]
|
|
import defaultBinding from "es6ImportDefaultBinding_0";
|
|
|
|
|
|
//// [es6ImportDefaultBinding_0.js]
|
|
exports.a = 10;
|
|
//// [es6ImportDefaultBinding_1.js]
|
|
|
|
|
|
//// [es6ImportDefaultBinding_0.d.ts]
|
|
export declare var a: number;
|
|
//// [es6ImportDefaultBinding_1.d.ts]
|