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

10 lines
280 B
Plaintext

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