Upgrade to TypeScript 5.1
The lines it complains about are correct, not sure how to fix.
Removed some unneeded code and parsed an error message with zod.
The lines it complains about are correct, not sure how to fix.
Removed some unneeded code and parsed an error message with zod.