Skip to content

Commit

Permalink
base.json is extended by other tsconfig.json, not package.json (#9189)
Browse files Browse the repository at this point in the history
### Description

In [Use a base tsconfig
file](https://turbo.build/repo/docs/guides/tools/typescript#use-a-base-tsconfig-file),
it is state that `base.json`, a TypeScript config file, is extended by
every other `package.json`. I guess we should say extended by every
other `tsconfig.json` in the workspace.
  • Loading branch information
boutchitos authored Sep 26, 2024
1 parent 490e499 commit 663d3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/repo-docs/guides/tools/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pnpm dlx create-turbo@latest

### Use a base `tsconfig` file

Inside `packages/tsconfig`, we have a few `json` files which represent different ways you might want to configure TypeScript in various packages. The `base.json` file is extended by every other `package.json` in the workspace and looks like this:
Inside `packages/tsconfig`, we have a few `json` files which represent different ways you might want to configure TypeScript in various packages. The `base.json` file is extended by every other `tsconfig.json` in the workspace and looks like this:

```json title="./packages/tsconfig/base.json"
"compilerOptions": {
Expand Down

0 comments on commit 663d3ff

Please sign in to comment.