16 lines
256 B
TypeScript
16 lines
256 B
TypeScript
|
// Non-ambient & instantiated module.
|
|||
|
module Moclodule {
|
|||
|
export interface Someinterface {
|
|||
|
foo(): void;
|
|||
|
}
|
|||
|
var x = 10;
|
|||
|
}
|
|||
|
|
|||
|
class Moclodule {
|
|||
|
}
|
|||
|
|
|||
|
// Instantiated module.
|
|||
|
module Moclodule {
|
|||
|
export class Manager {
|
|||
|
}
|
|||
|
}
|