nuxt-icon breaks type extension of AppConfigInput?
jontybrook opened this issue · comments
Nuxt version: 3.4.2
nuxt-icon version: 0.4.0
Package manager: pnpm
I'm working on a brand new nuxt project today. I just installed nuxt-icon@0.4.0, and I started getting type errors like this in my app.config.ts:
Removing nuxt-icon from my nuxt modules resolves this. Seems nuxt-icon is breaking dynamic types?
Not sure if this could be related to: nuxt/nuxt#20440 ?
We are working on it with @danielroe , you can ignore the error for now (it's TS only)
Could you test with nuxt-edge
@jontybrook ?
https://nuxt.com/docs/guide/going-further/edge-channel/#edge-release-channel
@atinux Yes, it works! Edge release 3.4.3-28041948.197de3ec
resolves this.
I've confirmed by switching back-and-forth between edge and 3.4.2 and edge works as expected 👍🏼
Huge thanks to you, @danielroe and the whole team for everything you're doing!