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
51 lines
812 B
TypeScript
51 lines
812 B
TypeScript
//// [es6ExportClauseInEs5.ts]
|
|
|
|
class c {
|
|
}
|
|
interface i {
|
|
}
|
|
module m {
|
|
export var x = 10;
|
|
}
|
|
var x = 10;
|
|
module uninstantiated {
|
|
}
|
|
export { c };
|
|
export { c as c2 };
|
|
export { i, m as instantiatedModule };
|
|
export { uninstantiated };
|
|
export { x };
|
|
|
|
//// [es6ExportClauseInEs5.js]
|
|
var c = (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
})();
|
|
exports.c = c;
|
|
exports.c2 = c;
|
|
var m;
|
|
(function (m) {
|
|
m.x = 10;
|
|
})(m || (m = {}));
|
|
exports.instantiatedModule = m;
|
|
var x = 10;
|
|
exports.x = x;
|
|
|
|
|
|
//// [es6ExportClauseInEs5.d.ts]
|
|
declare class c {
|
|
}
|
|
interface i {
|
|
}
|
|
declare module m {
|
|
var x: number;
|
|
}
|
|
declare var x: number;
|
|
declare module uninstantiated {
|
|
}
|
|
export { c };
|
|
export { c as c2 };
|
|
export { i, m as instantiatedModule };
|
|
export { uninstantiated };
|
|
export { x };
|