-
-
Notifications
You must be signed in to change notification settings - Fork 679
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
vue/order-in-components ceases to work when typecasting Vue component #575
Labels
Comments
michalsnik
pushed a commit
that referenced
this issue
Nov 6, 2018
* Add typescript specific changes * Add "as" helper * Fix vue/require-default-prop * Fix vue/require-prop-types * Allow to use `export default (Vue as VueConstructor<Vue>).extend({` syntax Fix issues: #564 #575 * Fix vue/require-prop-type-constructor * Fix vue/require-valid-default-prop * Add more tests in utils
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tell us about your environment
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
props
coming afterdata
What actually happened? Please include the actual, raw output from ESLint.
Notes:
If I replace the export line with
export default Vue.extend({
then it works as expected. Extending the type interface seems to break this rule.The text was updated successfully, but these errors were encountered: