Skip to content

Commit

Permalink
feat!: disable implicit @types/ imports
Browse files Browse the repository at this point in the history
Fixes #42
  • Loading branch information
voxpelli committed Sep 6, 2024
1 parent 53cbe37 commit 8587f36
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions base.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"esModuleInterop": true, // Will be true anyhow because module is node16
"allowSyntheticDefaultImports": true, // Will be true anyhow because esModuleInterop is true
"skipLibCheck": false, // See https://github.com/voxpelli/tsconfig/issues/1
"types": ["node"], // Don't implicitly pull in declarations from `@types` packages

/* Clean up generated declarations */
"removeComments": true,
Expand Down
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"test": "tsc"
},
"devDependencies": {
"@types/node": "^22.5.4",
"husky": "^9.1.5",
"typescript": "~5.5.3",
"validate-conventional-commit": "^1.0.4"
Expand Down

0 comments on commit 8587f36

Please sign in to comment.