Skip to content

Commit

Permalink
fix: don't filter event for missing props hint
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsoncodehk committed Apr 15, 2023
1 parent 9b5c6dc commit 2be34a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/vue-language-service/src/plugins/vue-template.ts
Expand Up @@ -169,9 +169,6 @@ export default function useVueTemplateLanguagePlugin<T extends ReturnType<typeof
else if (attrText === 'v-model') {
attrText = 'modelValue'; // TODO: support for experimentalModelPropName?
}
else if (attrText.startsWith('@')) {
attrText = 'on-' + hyphenate(attrText.substring('@'.length));
}

current.unburnedRequiredProps = current.unburnedRequiredProps.filter(propName => {
return attrText !== propName
Expand Down

0 comments on commit 2be34a1

Please sign in to comment.