You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We added support for [key: string]: any] in nuxt.config since 1) some modules might not have provided types and 2) making easier during module development to not have errors before stubbing
But this seems having a negative DX effect as increases chance of unnoticed typos in config file.
I think we shall try making it strict again...
The text was updated successfully, but these errors were encountered:
Maybe we could somehow provide a way to "losen up" the config interface to ensure typechecking would not fail for libs without types. I'm not a TS guru, but maybe something like this?
Ref: nuxt/framework#5294 (comment)_
We added support for
[key: string]: any]
in nuxt.config since 1) some modules might not have provided types and 2) making easier during module development to not have errors before stubbingBut this seems having a negative DX effect as increases chance of unnoticed typos in config file.
I think we shall try making it strict again...
The text was updated successfully, but these errors were encountered: