lukeautry / tsoa

Build OpenAPI-compliant REST APIs using TypeScript and Node
MIT License
3.45k stars 497 forks source link

fix: enable compilerOptions.strict for all packages #1433

Closed AudunWA closed 1 year ago

AudunWA commented 1 year ago

All Submissions:

Closing issues Fixes parts of #1165 ("Strict tsconfig in all packages" checkbox)

Own comments

This adds strict: true to all tsconfig.json files, and removes redundant options that strict enables. All resulting TS errors have been fixed, but some fixes might still hide already existing issues. Note: I kept noImplicitAny: false for tests, but I can remove it if we want full strictness for test code as well.