28 lines
456 B
TypeScript
28 lines
456 B
TypeScript
//// [declFileModuleWithPropertyOfTypeModule.ts]
|
|
|
|
module m {
|
|
export class c {
|
|
}
|
|
|
|
export var a = m;
|
|
}
|
|
|
|
//// [declFileModuleWithPropertyOfTypeModule.js]
|
|
var m;
|
|
(function (m) {
|
|
var c = (function () {
|
|
function c() {
|
|
}
|
|
return c;
|
|
})();
|
|
m.c = c;
|
|
m.a = m;
|
|
})(m || (m = {}));
|
|
|
|
|
|
//// [declFileModuleWithPropertyOfTypeModule.d.ts]
|
|
declare module m {
|
|
class c {
|
|
}
|
|
var a: typeof m;
|
|
}
|