Skip to content

Commit

Permalink
Move noUncheckedIndexAccess to release tsconfig
Browse files Browse the repository at this point in the history
This prevents the compiler from reporting issues with unchecked access
on unit and integration tests on the library

Change-type: patch
  • Loading branch information
pipex committed Feb 10, 2025
1 parent f483343 commit 8ec95a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"target": "es2022",
"declaration": true,
"skipLibCheck": true,
"noUncheckedIndexedAccess": true,
"paths": {
"mahler": [
"lib/index.ts"
Expand Down
11 changes: 9 additions & 2 deletions tsconfig.release.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"extends": "./tsconfig.json",
"include": ["lib/**/*.ts"],
"exclude": ["lib/**/*.spec.ts"]
"compilerOptions": {
"noUncheckedIndexedAccess": true
},
"include": [
"lib/**/*.ts"
],
"exclude": [
"lib/**/*.spec.ts"
]
}

0 comments on commit 8ec95a4

Please sign in to comment.