This way you can split the type checking from the actual bundling, as esbuild only does the latter.
edit: nevermind i get what you're saying. check types with tsc and dev work with esbuild