34 lines
662 B
JavaScript
34 lines
662 B
JavaScript
|
//// [cloduleWithPriorUninstantiatedModule.ts]
|
||
|
// Ambient/uninstantiated module.
|
||
|
module Moclodule {
|
||
|
export interface Someinterface {
|
||
|
foo(): void;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class Moclodule {
|
||
|
}
|
||
|
|
||
|
// Instantiated module.
|
||
|
module Moclodule {
|
||
|
export class Manager {
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//// [cloduleWithPriorUninstantiatedModule.js]
|
||
|
var Moclodule = (function () {
|
||
|
function Moclodule() {
|
||
|
}
|
||
|
return Moclodule;
|
||
|
})();
|
||
|
// Instantiated module.
|
||
|
var Moclodule;
|
||
|
(function (Moclodule) {
|
||
|
var Manager = (function () {
|
||
|
function Manager() {
|
||
|
}
|
||
|
return Manager;
|
||
|
})();
|
||
|
Moclodule.Manager = Manager;
|
||
|
})(Moclodule || (Moclodule = {}));
|