basarat / basarat/typescript-book

Prefer `rootDir` over `include`

Open
#577 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.