TS2786TS2786 — Component Cannot Be Used as JSX Element
A component's return type is not compatible with JSX element types.
TS2366A function with a non-void return type does not have a return statement at the end.
Not all code paths in the function return a value. TypeScript detected that execution could reach the end of the function without hitting a return statement, which would implicitly return undefined.
Add a return statement at the end of the function. Ensure all branches (if/else, switch) return a value. Use exhaustive checks with never type for switch statements.
TS2786A component's return type is not compatible with JSX element types.
TS2856A @ts-check comment is used in a TypeScript file where it has no effect.
TS2363The right operand of an arithmetic expression must be a number or bigint type.
TS2564A class property is not initialized in the constructor and has no default value.
TS7006A function parameter has no type annotation and TypeScript cannot infer its type.
TS2305The specified export does not exist in the referenced module.