Skip to content

feat: extend prop types from ImgHTMLAttributes#2084

Closed
gbyesiltas wants to merge 1 commit into
nuxt:mainfrom
gbyesiltas:add-strict-prop-types-for-nuxt-img
Closed

feat: extend prop types from ImgHTMLAttributes#2084
gbyesiltas wants to merge 1 commit into
nuxt:mainfrom
gbyesiltas:add-strict-prop-types-for-nuxt-img

Conversation

@gbyesiltas

Copy link
Copy Markdown

🔗 Linked issue

resolves #2083

❓ 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

Makes the NuxtImg component props extend the ImgHTMLAttributes type so that the module can be used with a strict-prop typescript configuration. See the issue for more details

@gbyesiltas

Copy link
Copy Markdown
Author

looks like there are some issues with the build, closing the pr

@gbyesiltas gbyesiltas closed this Jan 12, 2026
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 this pull request may close these issues.

Type errors with img html attributes when checkUnknownProps is enabled

1 participant