mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
5ce4e1e927
swc_ecma_parser: - Use correct position for comments in ```ts function Bar() { const [foo, setFoo] = useState(0); React.useEffect(() => { // @refresh reset }); return <h1>{foo}</h1>; } ```
4 lines
39 B
JavaScript
4 lines
39 B
JavaScript
if (a) {
|
|
b();
|
|
/* Some comment */ }
|