Skip to content

Commit

Permalink
chore: add types option to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza committed Jul 9, 2024
1 parent 388a05e commit d4b50a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
},
"dependencies": {
"@prisma/client": "^5.16.2",
"@types/bad-words": "^3.0.3",
"cors": "^2.8.5",
"express": "^4.19.2",
"express-rate-limit": "^7.3.1"
},
"devDependencies": {
"@types/bad-words": "^3.0.3",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/node": "^20.14.10",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"strictNullChecks": true,
"strictPropertyInitialization": true,
"target": "ESNext",
"types": ["bad-words", "cors", "express", "node"],
"useDefineForClassFields": true,
"useUnknownInCatchVariables": true,
"verbatimModuleSyntax": true
Expand Down

0 comments on commit d4b50a8

Please sign in to comment.