2015-04-27 03:31:47 +02:00
tests/cases/compiler/cloduleWithPriorInstantiatedModule.ts(2,8): error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged
2014-12-18 02:05:05 +01:00
==== tests/cases/compiler/cloduleWithPriorInstantiatedModule.ts (1 errors) ====
// Non-ambient & instantiated module.
module Moclodule {
~~~~~~~~~
2015-04-27 03:31:47 +02:00
!!! error TS2434: A namespace declaration cannot be located prior to a class or function with which it is merged
2014-12-18 02:05:05 +01:00
export interface Someinterface {
foo(): void;
}
var x = 10;
}
class Moclodule {
}
// Instantiated module.
module Moclodule {
export class Manager {
}
}