Closed mmews-n4 closed 2 months ago
source.n4jsx
function Comp(props: ReactComponentProps) { return <div {...props} />; }
output.js
function Comp(props) { $jsx('div', props); // warning here }
output-fix.js
function Comp(props) { $jsx('div', {...props}); }
source.n4jsx
output.js
output-fix.js