Skip to content

Commit e514e6c

Browse files
docs: fix tsc command to use tsconfig.json (#188)
Remove 'server.ts' argument from 'npx tsc --noEmit' command. When a file is specified directly, TypeScript ignores tsconfig.json, causing skipLibCheck and other options to not apply. This results in errors from node_modules (especially zod v4 locale files). The correct command lets tsc use the project's tsconfig.json settings.
1 parent 9e9f5f0 commit e514e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ app.listen(3001, (err) => {
180180
Then, verify your server compiles:
181181

182182
```bash
183-
npx tsc --noEmit server.ts
183+
npx tsc --noEmit
184184
```
185185

186186
No output means success. If you see errors, check for typos in `server.ts`.

0 commit comments

Comments
 (0)