This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-24 22:22:34 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
48e5b903e2
swc
/
crates
/
swc_ecma_codegen
/
tests
/
test262
/
40adcdf7cfe3fa0d.js
4 lines
49 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Ecmascript codegen (#40) Comment is not fully supported yet
2018-10-25 07:17:05 +03:00
function
a
(
)
{
'use strict'
;
fix(es/parser): Use correct position for comments (#1527) 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>; } ```
2021-03-31 13:30:05 +03:00
/* Comment */
}
Reference in New Issue
Copy Permalink