swc/tests/tsc-references/externalModules/exportClassNameWithObjectAMD/input.ts/es5.1.normal/output.js

12 lines
298 B
JavaScript
Raw Normal View History

function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
// @target: ES5
// @module: amd
export var Object = function Object() {
"use strict";
_classCallCheck(this, Object);
};