48 lines
843 B
JavaScript
48 lines
843 B
JavaScript
//// [tests/cases/compiler/es6ExportAll.ts] ////
|
|
|
|
//// [server.ts]
|
|
|
|
export class c {
|
|
}
|
|
export interface i {
|
|
}
|
|
export module m {
|
|
export var x = 10;
|
|
}
|
|
export var x = 10;
|
|
export module uninstantiated {
|
|
}
|
|
|
|
//// [client.ts]
|
|
export * from "server";
|
|
|
|
//// [server.js]
|
|
var c = (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
})();
|
|
exports.c = c;
|
|
var m;
|
|
(function (m) {
|
|
m.x = 10;
|
|
})(m = exports.m || (exports.m = {}));
|
|
exports.x = 10;
|
|
//// [client.js]
|
|
var _server = require("server");
|
|
for (var _a in _server) if (!exports.hasOwnProperty(_a)) exports[_a] = _server[_a];
|
|
|
|
|
|
//// [server.d.ts]
|
|
export declare class c {
|
|
}
|
|
export interface i {
|
|
}
|
|
export declare module m {
|
|
var x: number;
|
|
}
|
|
export declare var x: number;
|
|
export declare module uninstantiated {
|
|
}
|
|
//// [client.d.ts]
|
|
export * from "server";
|