basarat / basarat/typescript-book
Prefer `rootDir` over `include`
Open
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
Because you can use it on the command line to `--init`:
```ts
npx tsc --init --rootDir src outDir lib
```
Contributor guide
Research direction
Locate the documentation section covering `tsc --init`, `rootDir`, and `include`, then review the surrounding explanation and command example. Update the guidance to prefer `rootDir` where appropriate and ensure the shown command is accurate; the issue is done when the documentation clearly reflects that recommendation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100