TypeScript/tests/baselines/reference/duplicateVarAndImport2.errors.txt
2014-09-12 13:35:07 -07:00

10 lines
405 B
Plaintext

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