© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Typescript complains about props not being used in the template if not used as props.theprop - Nuxt
N
Nuxt
•
4y ago
•
4 replies
Sam K
Typescript complains about props not being used in the template if not used as props.theprop
Hi
, I am using nuxt with ts and vue volar extension with the typescript plugin
.
as shown in the fist screenshot that when accessing the prop directly from the template as
{{ someProp }}
{{ someProp }}
it complains about the const
props
props
is not being used
, the value in the app shows but ESLINT crashes
, but if I use it
{{ props.someProp }}}
{{ props.someProp }}}
works fine and ESLINT does not complain
.
Any thoughts on this issue
Thanks
Nuxt
Join
Nuxt Community Chat Server
31,632
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Invalid props not being reported by TypeScript
N
Nuxt / ❓・help
11mo ago
vscode complains about auto imports
N
Nuxt / ❓・help
2y ago
Nuxt i18n typescript error in template
N
Nuxt / ❓・help
4mo ago
@nuxt/eslint – disabling semicolons breaks syntax highlighting if using typescript in template
N
Nuxt / ❓・help
14mo ago