Guess a combination of esbuild during development, and tsc during commit would be the best of both worlds.