TypeScript/tests/baselines/reference/importAndVariableDeclarationConflict1.errors.txt
2014-09-11 16:11:08 -07:00

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 = '';