TypeScript/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.errors.txt
2014-09-11 16:11:08 -07:00

16 lines
435 B
Plaintext

==== tests/cases/compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.ts (1 errors) ====
class A {
aProp: string;
}
module A {
export interface X { s: string }
export var a = 10;
}
module B {
var A = 1;
import Y = A;
~
!!! error TS2437: Module 'A' is hidden by a local declaration with the same name
}