Skip to content

Commit

Permalink
Apply strict rules
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Oct 12, 2023
1 parent 19b2fc6 commit 6a67fe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.test.mts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function buildServer(install: boolean, env: string): Promise<Application>

app.get('/test', (req, res): void => {
res.json({
s: req.query.s,
s: req.query['s'],
debug: true,
});
});
Expand Down
5 changes: 5 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
"noUnusedLocals": true,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"exactOptionalPropertyTypes": true,
"esModuleInterop": true,
"resolveJsonModule": false
},
Expand Down

0 comments on commit 6a67fe2

Please sign in to comment.