Auto Import Types Not Resolving in latest v1.11.0
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
- 96
- Avg merge
- 8h 12m
- Merged PRs (30d)
- 2
Contributor 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 3/5 1-2 days Newbie friendliness 65/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·