Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuxt-icon breaks type extension of AppConfigInput? #72

Closed
jontybrook opened this issue Apr 25, 2023 · 3 comments · Fixed by nuxt/nuxt#20526
Closed

nuxt-icon breaks type extension of AppConfigInput? #72

jontybrook opened this issue Apr 25, 2023 · 3 comments · Fixed by nuxt/nuxt#20526
Assignees

Comments

@jontybrook
Copy link

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:

screenshot_000134-4Vbu3Zpb_25-04-2023_20h31m25s

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 ?

Copy link
Contributor

Atinux commented Apr 26, 2023

We are working on it with @danielroe , you can ignore the error for now (it's TS only)

Copy link
Contributor

Atinux commented Apr 26, 2023

Could you test with nuxt-edge @jontybrook ?

https://nuxt.com/docs/guide/going-further/edge-channel/#edge-release-channel

@jontybrook
Copy link
Author

@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants