Skip to content

Commit

Permalink
Changes to base config to support prismicio/types
Browse files Browse the repository at this point in the history
  • Loading branch information
rcantin-w committed Sep 20, 2024
1 parent 1a472cb commit 6a87949
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/tsconfig-base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"allowJs": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"isolatedModules": true,
"jsx": "preserve",
"lib": ["esnext"],
"noEmit": true,
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": false,
"strictNullChecks": true,
"target": "es6"
},
"exclude": ["/**/node_modules"],
"include": ["/**/*.ts", "/**/*.tsx"]
}
2 changes: 2 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
"noEmit": true,
"moduleResolution": "node",
"module": "esnext",
"forceConsistentCasingInFileNames": true
},
"exclude": ["node_modules"],
Expand Down

0 comments on commit 6a87949

Please sign in to comment.