Skip to content

Add type augmentation test #3713

Merged
yyx990803 merged 1 commit intovuejs:nextfrom
ktsn:type-augmentation-test
Sep 21, 2016
Merged

Add type augmentation test #3713
yyx990803 merged 1 commit intovuejs:nextfrom
ktsn:type-augmentation-test

Conversation

@ktsn
Copy link
Copy Markdown
Contributor

@ktsn ktsn commented Sep 21, 2016

Plugins of Vue.js usually add some static or instance properties/methods to Vue and some new options to component options.
I think it is good to provide how to augment their typings for the plugin developers.

I add the test code of such augmentation by this PR and it would be the example for it.

@yyx990803 yyx990803 merged commit 019d900 into vuejs:next Sep 21, 2016
@ktsn ktsn deleted the type-augmentation-test branch September 21, 2016 16:49
@HerringtonDarkholme
Copy link
Copy Markdown
Member

Badly need this! The example test helps a lot!

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