13 lines
No EOL
426 B
Text
13 lines
No EOL
426 B
Text
tests/cases/compiler/importAndVariableDeclarationConflict1.ts(5,1): error TS2440: Import declaration conflicts with local declaration of 'x'
|
|
|
|
|
|
==== tests/cases/compiler/importAndVariableDeclarationConflict1.ts (1 errors) ====
|
|
module m {
|
|
export var m = '';
|
|
}
|
|
|
|
import x = m.m;
|
|
~~~~~~~~~~~~~~~
|
|
!!! error TS2440: Import declaration conflicts with local declaration of 'x'
|
|
var x = '';
|
|
|