mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
351 B
TypeScript
20 lines
351 B
TypeScript
//// [tests/cases/compiler/importAndVariableDeclarationConflict1.ts] ////
|
|
|
|
//// [importAndVariableDeclarationConflict1.ts]
|
|
namespace m {
|
|
export var m = '';
|
|
}
|
|
|
|
import x = m.m;
|
|
var x = '';
|
|
|
|
|
|
//// [importAndVariableDeclarationConflict1.js]
|
|
"use strict";
|
|
var m;
|
|
(function (m_1) {
|
|
m_1.m = '';
|
|
})(m || (m = {}));
|
|
var x = m.m;
|
|
var x = '';
|