Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/examples/with-svelte…
Browse files Browse the repository at this point in the history
…/with-svelte-5b15df5a2c
  • Loading branch information
anthonyshew authored Jan 27, 2025
2 parents fdf53c6 + bb07135 commit 920867b
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions docs/repo-docs/guides/tools/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,19 @@ pnpm dlx create-turbo@latest
Inside `packages/typescript-config`, you 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/typescript-config/base.json"
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"module": "NodeNext"
{
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"module": "NodeNext"
}
}
```

Expand Down

0 comments on commit 920867b

Please sign in to comment.