We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using code like this:
--- interface Props { as: string; } const { as } = Astro.props; const As = as; --- <As> <slot /> </As>
And running pnpm astro check it shows an error:
pnpm astro check
error ts(6196): 'Props' is declared but never used.
npm init astro
https://stackblitz.com/edit/astro-check-errors?file=src%2Fcomponents%2FCard.astro&on=stackblitz
The text was updated successfully, but these errors were encountered:
Duplicate of withastro/compiler#927
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
When using code like this:
And running
pnpm astro check
it shows an error:Steps to Reproduce
npm init astro
using templatepnpm astro check
error ts(6196): 'Props' is declared but never used.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/astro-check-errors?file=src%2Fcomponents%2FCard.astro&on=stackblitz
The text was updated successfully, but these errors were encountered: