mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
282 B
TypeScript
14 lines
282 B
TypeScript
//// [tests/cases/compiler/duplicateVarAndImport.ts] ////
|
|
|
|
//// [duplicateVarAndImport.ts]
|
|
// no error since module is not instantiated
|
|
|
|
var a;
|
|
namespace M { }
|
|
import a = M;
|
|
|
|
//// [duplicateVarAndImport.js]
|
|
"use strict";
|
|
// no error since module is not instantiated
|
|
var a;
|