correct the build for typescript-tool