From 663d3ffdc5b1a4a93353ed408c0b6a653fd89a9f Mon Sep 17 00:00:00 2001 From: Martin Boucher Date: Thu, 26 Sep 2024 14:25:24 -0400 Subject: [PATCH] base.json is extended by other tsconfig.json, not package.json (#9189) ### 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. --- docs/repo-docs/guides/tools/typescript.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/repo-docs/guides/tools/typescript.mdx b/docs/repo-docs/guides/tools/typescript.mdx index 5ee6d8206b134..700014579fb46 100644 --- a/docs/repo-docs/guides/tools/typescript.mdx +++ b/docs/repo-docs/guides/tools/typescript.mdx @@ -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": {