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

#564 #575 Fix issues with Typescript #613

Merged
merged 4 commits into from
Nov 6, 2018

Conversation

armano2
Copy link
Contributor

@armano2 armano2 commented Oct 17, 2018

Add typescript specific changes:

  • Add "as" helper
  • Fix vue/require-default-prop
  • Fix vue/require-prop-types
  • Fix vue/require-prop-type-constructor
  • Fix vue/require-valid-default-prop
  • Allow to use export default (Vue as VueConstructor<Vue>).extend({ syntax

Fix issues: #564 #575

@armano2 armano2 changed the title #564 fix typescript error in vue/require-default-prop #564 #575 fix typescript error in vue/require-default-prop Oct 17, 2018
@armano2 armano2 changed the title #564 #575 fix typescript error in vue/require-default-prop #564 #575 Fix issues with Typescript Oct 17, 2018
@armano2 armano2 force-pushed the 564-require-default-prop branch 2 times, most recently from d99ac16 to 03ddd6f Compare October 17, 2018 20:58
@armano2
Copy link
Contributor Author

armano2 commented Oct 18, 2018

i know that this is not solving all issues, but i think its good start

@armano2 armano2 force-pushed the 564-require-default-prop branch from 4765dcd to 3f3f944 Compare October 19, 2018 21:52
@mysticatea mysticatea requested a review from michalsnik October 20, 2018 14:36

Unverified

This user has not yet uploaded their public signing key.
* 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: vuejs#564 vuejs#575

Unverified

This user has not yet uploaded their public signing key.

Unverified

This user has not yet uploaded their public signing key.

Unverified

This user has not yet uploaded their public signing key.
@armano2 armano2 force-pushed the 564-require-default-prop branch from 3f3f944 to 7bc13e0 Compare October 20, 2018 15:22
@armano2
Copy link
Contributor Author

armano2 commented Oct 20, 2018

merge conflict resolved

@armano2
Copy link
Contributor Author

armano2 commented Nov 3, 2018

@michalsnik do you think thats enough for first phase?

i started changing rules to support https://github.com/vuejs/vue-class-component, but i will preffer to merge this first

Copy link
Member

@michalsnik michalsnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍 Thank you @armano2 ! Although with class support I'd wait a bit until the component API for Vue@3 is set.

@michalsnik michalsnik merged commit badd051 into vuejs:master Nov 6, 2018
@armano2 armano2 deleted the 564-require-default-prop branch November 6, 2018 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants