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
Unused '@ts-expect-error' directive
My component:
<script lang="ts" setup> interface Props { id?: string } const props = withDefaults(defineProps<Props>(), { // @ts-expect-error https://github.com/vuejs/core/issues/5938 id: () => Math.random().toString(36).slice(2), }) </script> <template> <div></div> </template>
I got Unused '@ts-expect-error' directive. error on Ln 1 Col 1
Unused '@ts-expect-error' directive.
But, if I remove
The text was updated successfully, but these errors were encountered:
a414664
No branches or pull requests
My component:
I got
Unused '@ts-expect-error' directive.
error on Ln 1 Col 1But, if I remove
The text was updated successfully, but these errors were encountered: