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
20 lines
721 B
TypeScript
20 lines
721 B
TypeScript
// @module: commonjs
|
|
// @declaration: true
|
|
|
|
// @filename: server.ts
|
|
var a = 10;
|
|
export default a;
|
|
|
|
// @filename: client.ts
|
|
export import defaultBinding1, { } from "server";
|
|
export var x1: number = defaultBinding1;
|
|
export import defaultBinding2, { a } from "server";
|
|
export var x1: number = defaultBinding2;
|
|
export import defaultBinding3, { a as b } from "server";
|
|
export var x1: number = defaultBinding3;
|
|
export import defaultBinding4, { x, a as y } from "server";
|
|
export var x1: number = defaultBinding4;
|
|
export import defaultBinding5, { x as z, } from "server";
|
|
export var x1: number = defaultBinding5;
|
|
export import defaultBinding6, { m, } from "server";
|
|
export var x1: number = defaultBinding6;
|