mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
559d1202bc
**Related issue:** - Closes https://github.com/swc-project/swc/issues/7241.
18 lines
331 B
JavaScript
18 lines
331 B
JavaScript
(function () {
|
|
function forwardRef() {
|
|
return something();
|
|
}
|
|
|
|
function Test() {
|
|
return 'Test';
|
|
}
|
|
const _Test = /*#__PURE__*/ (0, forwardRef)(Test);
|
|
function Other() {
|
|
return 'Other';
|
|
}
|
|
const _Other = /*#__PURE__*/ (0, forwardRef)(Other);
|
|
|
|
|
|
console.log((0, _Test));
|
|
|
|
})(); |