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.84k stars 490 forks source link

Set `"strict": true` in tsconfig #2452

Open hymair opened 4 months ago

hymair commented 4 months ago

Describe the feature

As in Nuxt, strict should ideally be enabled by default.

Additional information

Overwriting tsconfig works as well so far:

// https://nitro.unjs.io/guide/typescript
{
    "extends": "./.nitro/types/tsconfig.json",
    "compilerOptions": {
        "strict": true
    }
}
manniL commented 4 months ago

IMO a good candidate for the next major