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

provide a way to allow Module Augmentation with Vue.config #7273

Closed
Kingwl opened this issue Dec 19, 2017 · 0 comments · Fixed by #7274
Closed

provide a way to allow Module Augmentation with Vue.config #7273

Kingwl opened this issue Dec 19, 2017 · 0 comments · Fixed by #7274

Comments

@Kingwl
Copy link
Member

Kingwl commented Dec 19, 2017

What problem does this feature solve?

vue-i18n inject the lang field to Vue.config to switch the global language
but in ts, we cannot re-define the config field in VueConstructor

What does the proposed API look like?

extract config to a interface

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant