Files
tsgo/testdata/baselines/reference/submodule/compiler/genericFunduleInModule2.js

32 lines
536 B
TypeScript

//// [tests/cases/compiler/genericFunduleInModule2.ts] ////
//// [genericFunduleInModule2.ts]
namespace A {
export function B<T>(x: T) { return x; }
}
namespace A {
export namespace B {
export var x = 1;
}
}
var b: A.B;
A.B(1);
//// [genericFunduleInModule2.js]
"use strict";
var A;
(function (A) {
function B(x) { return x; }
A.B = B;
})(A || (A = {}));
(function (A) {
let B;
(function (B) {
B.x = 1;
})(B = A.B || (A.B = {}));
})(A || (A = {}));
var b;
A.B(1);