unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.89k stars 496 forks source link

feat!: increase generated `tsconfig.json` strictness #2533

Closed danielroe closed 3 months ago

danielroe commented 3 months ago

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

This is a remake of https://github.com/unjs/nitro/pull/2532, but for main branch... (Just close whichever PR is not relevant.)

This increases strictness for the generated tsconfig.json. The most significant change, I think, is noUncheckedIndexedAccess - feel free to remove if you think this is too much! (But of course it can always be disabled by end user.

๐Ÿ“ Checklist