Why do I have to place {} around my input paramters in typescript, for e.g.
// you can also inline the type declaration; eliminates naming the prop types, but looks repetitive
const App = ({ message }: { message: string }) => <div>{message}</div>;
Instead of simply
const App = (message: string) => <div>{message}</div>;