mirror of
https://github.com/swc-project/swc.git
synced 2025-01-05 12:03:47 +03:00
9 lines
290 B
JavaScript
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);
|