swc/tests/tsc-references/jsx/tsxReactEmit6x/input.tsx/es2015.2.minified/output.js
Donny/강동윤 26944e159d
fix(es/transforms/base): Reimplement hygiene (#2408)
swc_ecma_transforms_base:
 - Reimplement `hygiene`.
2021-10-21 05:12:50 +00:00

24 lines
634 B
JavaScript

var M1;
function _extends() {
return (_extends = Object.assign || function(target) {
for(var i = 1; i < arguments.length; i++){
var source = arguments[i];
for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
}
return target;
}).apply(this, arguments);
}
!function(M) {
var React;
M.React = React;
}(M1 || (M1 = {
})), (function(M) {
var foo;
React.createElement("div", _extends({
x: ""
}, foo, {
y: ""
})), React.createElement("div", null, "This \"quote\" thing");
})(M1 || (M1 = {
}));