Skip to content
New issue

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

PropValidation is not reported through VTI #2274

Closed
octref opened this issue Sep 13, 2020 · 0 comments
Closed

PropValidation is not reported through VTI #2274

octref opened this issue Sep 13, 2020 · 0 comments

Comments

@octref
Copy link
Member

octref commented Sep 13, 2020

Consider two simple files:

Test.vue:

<template>
  <div></div>
</template>

<script>
export default {
  props: ['foo', 'bar']
}
</script>

Parent.vue:

<template>
  <test :foo="1" />
</template>

<script>
import Test from "./Test.vue";

export default {
  components: {
    Test
  }
};
</script>

The error <test> misses props: bar can be seen in editor, but vti diagnostics generates nothing.

@octref octref changed the title PropValidation is not reporeted through VTI PropValidation is not reported through VTI Sep 21, 2020
@octref octref closed this as completed in 51936f0 Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant