10 lines
266 B
Text
10 lines
266 B
Text
|
==== tests/cases/compiler/importAndVariableDeclarationConflict4.ts (1 errors) ====
|
||
|
module m {
|
||
|
export var m = '';
|
||
|
}
|
||
|
|
||
|
var x = '';
|
||
|
import x = m.m;
|
||
|
~~~~~~~~~~~~~~~
|
||
|
!!! Import declaration conflicts with local declaration of 'x'
|
||
|
|