ts-node
has a --transpile-only
(or -T
) argument. It will ignore all type errors and just build your project.
My 2022 suggestion for this to set up esbuild
instead. Not a plug and play experience, but extremely fast. We use esbuild
for (constant) building during development, and rely on other tools to report type errors.