TypeScript can usually infer a component return type from JSX. Explicit return types can be useful in public APIs but are not always necessary.
Question 20 of 20 in React TypeScript Quiz