13 lines
No EOL
360 B
Text
13 lines
No EOL
360 B
Text
==== tests/cases/compiler/internalImportInstantiatedModuleNotReferencingInstance.ts (1 errors) ====
|
|
module A {
|
|
export interface X { s: string }
|
|
export var a = 10;
|
|
}
|
|
|
|
module B {
|
|
var A = 1;
|
|
import Y = A;
|
|
~
|
|
!!! Module 'A' is hidden by a local declaration with the same name
|
|
}
|
|
|