TypeScript/tests/baselines/reference/duplicateVarAndImport2.errors.txt
2014-07-14 16:47:50 -07:00

7 lines
260 B
Plaintext

==== tests/cases/compiler/duplicateVarAndImport2.ts (1 errors) ====
// error since module is instantiated
var a;
module M { export var x = 1; }
import a = M;
~~~~~~~~~~~~~
!!! Import declaration conflicts with local declaration of 'a'