Yeah seriously. Instead of running npm run build, make a npm run typecheck command. See how tiny a fraction the “linting and checking validity of types” takes. Compared to the actual build. After that is done, the type annotations are simply ignored by the transpiler.