* Performs type checking on the /build-system directory using TypeScript. * Configuration is defined in /build-system/tsconfig.json.
()
| 22 | * Configuration is defined in /build-system/tsconfig.json. |
| 23 | */ |
| 24 | function checkBuildSystem() { |
| 25 | updateBuildSystemSubpackages(); |
| 26 | log('Checking types in', cyan('build-system') + '...'); |
| 27 | execOrThrow( |
| 28 | 'npx -p typescript tsc --project ./build-system/tsconfig.json', |
| 29 | 'Type checking failed' |
| 30 | ); |
| 31 | log(green('SUCCESS:'), 'No type errors in', cyan('build-system') + '.'); |
| 32 | } |
| 33 | |
| 34 | checkBuildSystem.description = |
| 35 | 'Check source code in build-system/ for JS type errors'; |
nothing calls this directly
no test coverage detected