25 lines
473 B
Text
25 lines
473 B
Text
=== tests/cases/compiler/cloduleWithPriorUninstantiatedModule.ts ===
|
|
// Non-ambient & uninstantiated module.
|
|
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
|
|
}
|
|
}
|