Conflicts: src/compiler/checker.ts src/compiler/emitter.ts src/compiler/types.ts tests/baselines/reference/APISample_compile.js tests/baselines/reference/APISample_linter.js tests/baselines/reference/APISample_transform.js tests/baselines/reference/APISample_watcher.js tests/baselines/reference/es5ExportDefaultClassDeclaration2.js tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js tests/baselines/reference/es6ExportAllInEs5.js tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5.js
23 lines
1.1 KiB
TypeScript
23 lines
1.1 KiB
TypeScript
//// [tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBinding1InEs5.ts] ////
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.ts]
|
|
|
|
var a = 10;
|
|
export default a;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.ts]
|
|
import defaultBinding, * as nameSpaceBinding from "es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0";
|
|
var x: number = defaultBinding;
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.js]
|
|
var a = 10;
|
|
exports.default = a;
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.js]
|
|
var es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0_1 = require("es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0"), nameSpaceBinding = es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0_1;
|
|
var x = es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0_1.default;
|
|
|
|
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_0.d.ts]
|
|
declare var a: number;
|
|
export default a;
|
|
//// [es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5_1.d.ts]
|