Closed m1cm1c closed 2 years ago
Minimal example:
export default function Foo() { const foo = (event : React.ChangeEvent<HTMLInputElement>) => { console.log(event); }; const bar = () => { console.log('bar'); }; }
The code is rendered in red from the element containing the angle brackets until the end of the buffer:
RJSX does not support type annotations
Minimal example:
The code is rendered in red from the element containing the angle brackets until the end of the buffer: