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

add EsModuleComponent definition #6477

Merged
merged 5 commits into from
Sep 5, 2017
Merged

add EsModuleComponent definition #6477

merged 5 commits into from
Sep 5, 2017

Conversation

JounQin
Copy link
Contributor

@JounQin JounQin commented Aug 30, 2017

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

If adding a new feature, the PR's description includes:

Copy link
Member

@ktsn ktsn left a comment

Choose a reason for hiding this comment

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

👍

@@ -6,10 +6,15 @@ type Constructor = {
}

export type Component = typeof Vue | ComponentOptions<Vue> | FunctionalComponentOptions;

type EsModuleComponent = {
Copy link
Member

@HerringtonDarkholme HerringtonDarkholme Aug 31, 2017

Choose a reason for hiding this comment

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

Can you change type to interface? interface is better for compiler caching and documentation.

@yyx990803 yyx990803 merged commit 0b2929a into vuejs:dev Sep 5, 2017
@JounQin JounQin deleted the patch-1 branch September 6, 2017 00:42
ztlevi pushed a commit to ztlevi/vue that referenced this pull request Feb 14, 2018
f2009 pushed a commit to f2009/vue that referenced this pull request Jan 25, 2019
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.

4 participants