Input
export const _ = 0;
declare global {
export const globalVariable: number;
}
globalVariable;
Current Output (0.30.1)
local ____exports = {}
____exports._ = 0
- local ____ = global.globalVariable
return ____exports
Expected Output
local ____exports = {}
____exports._ = 0
+ local ____ = globalVariable
return ____exports
This is TypeScript's output for the same code:
"use strict";
exports.__esModule = true;
exports._ = 0;
globalVariable;
Input
Current Output (0.30.1)
local ____exports = {} ____exports._ = 0 - local ____ = global.globalVariable return ____exportsExpected Output
local ____exports = {} ____exports._ = 0 + local ____ = globalVariable return ____exportsThis is TypeScript's output for the same code: