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