mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
9ffe47106a
swc: - Fix `target` option. (#2225)
16 lines
431 B
JavaScript
16 lines
431 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = Foo;
|
|
var swcHelpers = require("@swc/helpers");
|
|
var _react = swcHelpers.interopRequireDefault(require("react"));
|
|
function Foo() {
|
|
return(/*#__PURE__*/ _react.default.createElement("div", {
|
|
onClick: swcHelpers.asyncToGenerator(function*(e) {
|
|
yield doSomething();
|
|
})
|
|
}));
|
|
}
|
|
Foo.displayName = "Foo";
|