MCPcopy Index your code
hub / github.com/zenstackhq/zenstack / typeCheck

Function typeCheck

packages/cli/test/import-extension.test.ts:52–55  ·  view source on GitHub ↗
(workDir: string)

Source from the content-addressed store, hash-verified

50}
51
52function typeCheck(workDir: string) {
53 // throws (non-zero exit) if type checking fails
54 execSync('npx tsc --noEmit', { cwd: workDir, stdio: 'pipe' });
55}
56
57describe('Import file extension generation', () => {
58 it('omits the extension and compiles under bundler resolution', async () => {

Callers 1

Calls 1

execSyncFunction · 0.85

Tested by

no test coverage detected