swc/tests/tsc-references/jsx/tsxElementResolution19x/input.tsx/es5.2.minified/output.js

9 lines
290 B
JavaScript

import * as React from "react";
export var MyClass = function() {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
}(this, MyClass);
};
React.createElement(MyClass, null);