10 lines
280 B
Plaintext
10 lines
280 B
Plaintext
==== 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 = '';
|
|
|