Conversation
Contributor
๐ Linked issue
Resolves #4970
โ Type of change
- ๐ Documentation (updates to the documentation or readme)
- ๐ Bug fix (a non-breaking change that fixes an issue)
- ๐ Enhancement (improving an existing functionality)
- โจ New feature (a non-breaking change that adds functionality)
- ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
I've updated the import path for the TVConfig type from @nuxt/ui to #ui/types/tv as it was not being resolved properly (hopefully I'm not missing something) and made the AppConfigUI type fallback to any.
After this change the types seem to work as expected in app.config.ts.
๐ Checklist
- I have linked an issue or discussion.
- I have updated the documentation accordingly.
npm i https://pkg.pr.new/@nuxt/ui@4971
commit: ecf6a43
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@J-Michalek I'd rather export * from './tv' in src/runtime/types/index.ts rather than changing this!
I might have forgot this in some refactor ๐ฌ
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ๐
benjamincanac
changed the title
fix(templates): update import path for TVConfig type
fix(types): export missing tv types