Troubleshooting
- Type ‘unknown’ is not assignable to type …
- Type ‘null’ is not assignable to type ‘string’
- Type error: Type ‘string’ is not assignable to type ‘number’
- Object is possibly ‘undefined’
- TypeError: Cannot destructure property ‘…’ of ‘useLoaderData(…)’ as it is null.
- Argument of type ‘(number | null)[]’ is not assignable to parameter of type ‘(err: Error, result: QueryResult) => void’