mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
483 B
Plaintext
16 lines
483 B
Plaintext
//// [tests/cases/compiler/duplicateVarAndImport.ts] ////
|
|
|
|
=== duplicateVarAndImport.ts ===
|
|
// no error since module is not instantiated
|
|
|
|
var a;
|
|
>a : Symbol(a, Decl(duplicateVarAndImport.ts, 2, 3), Decl(duplicateVarAndImport.ts, 3, 15))
|
|
|
|
namespace M { }
|
|
>M : Symbol(M, Decl(duplicateVarAndImport.ts, 2, 6))
|
|
|
|
import a = M;
|
|
>a : Symbol(a, Decl(duplicateVarAndImport.ts, 2, 3), Decl(duplicateVarAndImport.ts, 3, 15))
|
|
>M : Symbol(M, Decl(duplicateVarAndImport.ts, 2, 6))
|
|
|