swc/tests/tsc-references/salsa/moduleExportNestedNamespaces/input.ts/es5.2.minified/output.js

11 lines
383 B
JavaScript
Raw Normal View History

import * as s from "./mod";
module.exports.n = {
}, module.exports.n.K = function() {
this.x = 10;
}, module.exports.Classic = function _class() {
"use strict";
(function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
})(this, _class), this.p = 1;
}, new s.n.K().x, new s.Classic();