Skip to content

Add VueDecorator to named exports #194

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

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Conversation

yankeeinlondon
Copy link
Contributor

If you want to create a non-parameterized decorator you need to something like:

const newDecorator = const createDecorator((componentOptions, k) => { ...});

But that will give you the following error:

Exported variable 'newDecorator' has or is using name 'VueDecorator' from external module

@ktsn ktsn merged commit 4484456 into vuejs:master Nov 16, 2017
@yankeeinlondon
Copy link
Contributor Author

Thanks. What is your npm release schedule? I'd like to give a PR to vue-property-decorator repo but need a stable dependency to tag.

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.

3 participants