mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
368 B
Plaintext
10 lines
368 B
Plaintext
duplicateVarAndImport2.ts(4,1): error TS2440: Import declaration conflicts with local declaration of 'a'.
|
|
|
|
|
|
==== duplicateVarAndImport2.ts (1 errors) ====
|
|
// error since module is instantiated
|
|
var a;
|
|
namespace M { export var x = 1; }
|
|
import a = M;
|
|
~~~~~~~~~~~~~
|
|
!!! error TS2440: Import declaration conflicts with local declaration of 'a'. |