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
28 lines
646 B
TypeScript
28 lines
646 B
TypeScript
//// [tests/cases/compiler/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.ts] ////
|
|
|
|
//// [server.ts]
|
|
|
|
export class a { }
|
|
|
|
//// [client.ts]
|
|
import defaultBinding, * as nameSpaceBinding from "server";
|
|
export var x = new nameSpaceBinding.a();
|
|
|
|
//// [server.js]
|
|
var a = (function () {
|
|
function a() {
|
|
}
|
|
return a;
|
|
})();
|
|
exports.a = a;
|
|
//// [client.js]
|
|
var server_1 = require("server"), nameSpaceBinding = server_1;
|
|
exports.x = new nameSpaceBinding.a();
|
|
|
|
|
|
//// [server.d.ts]
|
|
export declare class a {
|
|
}
|
|
//// [client.d.ts]
|
|
import * as nameSpaceBinding from "server";
|
|
export declare var x: nameSpaceBinding.a;
|