The only way to check for TypeScript errors with Next.JS is to use npm run build (or yarn build).
If you run npm run dev, it won't show you TypeScript errors, which sucks because it would be nicer to see them in the Terminal window while you're developing.
Is there any way to make npm run dev show TS errors?
FYI - I REALLY don't like using my IDE to work with TS errors. Just my personal preference. I prefer to see them in the terminal window with all the other errors.