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

25 lines
706 B
JavaScript
Raw Normal View History

var Obj1, Obj2, Obj3, attributes, Obj4;
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);
}
React.createElement(Obj1, {
x: 10
}), React.createElement(Obj2, {
x: 10
}), React.createElement(Obj3, {
x: 10
}), React.createElement(Obj3, _extends({
}, attributes)), React.createElement(Obj3, _extends({
}, {
})), React.createElement(Obj4, {
x: 10
}), React.createElement(Obj4, {
x: "10"
});