I use vite-plugin-checker to do the typescript compilation and it is excellent becuase it is done in the background off the critical path. Thus it does not slow down development, but when our CI runs it will block merging of unsound typing. Best of all worlds.