2014-12-18 02:00:42 +01:00
|
|
|
=== tests/cases/compiler/cloduleWithPriorUninstantiatedModule.ts ===
|
2014-12-18 02:05:05 +01:00
|
|
|
// Non-ambient & uninstantiated module.
|
2014-12-18 02:00:42 +01:00
|
|
|
module Moclodule {
|
|
|
|
>Moclodule : typeof Moclodule
|
|
|
|
|
|
|
|
export interface Someinterface {
|
|
|
|
>Someinterface : Someinterface
|
|
|
|
|
|
|
|
foo(): void;
|
|
|
|
>foo : () => void
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class Moclodule {
|
|
|
|
>Moclodule : Moclodule
|
|
|
|
}
|
|
|
|
|
|
|
|
// Instantiated module.
|
|
|
|
module Moclodule {
|
|
|
|
>Moclodule : typeof Moclodule
|
|
|
|
|
|
|
|
export class Manager {
|
|
|
|
>Manager : Manager
|
|
|
|
}
|
|
|
|
}
|