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