2015-02-11 02:53:29 +01:00
|
|
|
//// [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]
|
2015-03-23 20:47:39 +01:00
|
|
|
var _server = require("server"), nameSpaceBinding = _server;
|
2015-02-11 02:53:29 +01:00
|
|
|
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;
|