mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
4db24fb7f6
swc_ecma_transforms_module: - Change the order of functions exported as default. (#1568) - Handle mixed imports correctly. (#1525) swc: - Ensure that #1581 is fixed. (#1581)
6 lines
141 B
TypeScript
6 lines
141 B
TypeScript
import { Component, default as React } from "react";
|
|
|
|
class X extends Component {}
|
|
|
|
React.render(document.getElementById("#root"), <X></X>);
|