Auto Import Types Not Resolving in latest v1.11.0
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- nuxtjs, typescript
- Domain
- developer-experience, frontend
Research direction
Reproduce the issue with @nuxt/icon 1.11.0, Nuxt 3.16.0, Vue 3.5.13, and the provided Nuxt configuration. Start by tracing the auto-imported Icon type generation or resolution and compare it with v1.10.3. Done means VS Code reports missing props and displays the component's available props again.
Written by the indexing model from the issue text.
Description
The latest version v1.11.0 does not properly resolve the auto imported type of Icon
With the previous v1.10.3 - the auto imported Icon component shows a type error if missing props and also shows available props in the VS Code context window:
With v1.11.0 - the Icon component does not show any type errors if missing props and the available props are not displayed by VS Code:
Using dependencies:
{
"@nuxt/icon": "1.11.0",
"nuxt": "^3.16.0",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
}
With latest nuxt config:
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true },
modules: ['@nuxt/icon']
})
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 99
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 23
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nuxt/icon
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
nuxt/icon#492 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
marmelab/react-admin#11431 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
db-ux-design-system/core-web#8655 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
stripe/react-stripe-js#728 ·
-
[Upload Grade C dataset] the pop-up changes it's size while uploading the document => Jumping effectOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
epam/statgpt-admin-frontend#305 ·
Maintainers usually reply within 1 day