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.
This commit is contained in:
Rizel Scarlett 2025-12-20 10:39:34 -05:00 • committed by GitHub
commit e514e6c745
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,7 +180,7 @@ app.listen(3001, (err) => {
Then, verify your server compiles:
```bash
npx tsc --noEmit server.ts
npx tsc --noEmit
```
No output means success. If you see errors, check for typos in `server.ts`.