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
23 lines
851 B
TypeScript
23 lines
851 B
TypeScript
//// [tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding1.ts] ////
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_0.ts]
|
|
|
|
var a = 10;
|
|
export default a;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_1.ts]
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
|
var x: number = defaultBinding;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_0.js]
|
|
var a = 10;
|
|
export default a;
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_1.js]
|
|
import defaultBinding from "es6ImportDefaultBindingFollowedWithNamespaceBinding_0";
|
|
var x = defaultBinding;
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_0.d.ts]
|
|
declare var a: number;
|
|
export default a;
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBinding_1.d.ts]
|