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:
parent
9e9f5f0210
commit
e514e6c745
1 changed files with 1 additions and 1 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue