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

Use new typescript syntax for exporting #263

Merged
merged 1 commit into from
Dec 14, 2017
Merged

Use new typescript syntax for exporting #263

merged 1 commit into from
Dec 14, 2017

Conversation

jmigual
Copy link
Contributor

@jmigual jmigual commented Dec 10, 2017

Importing this module using the

import * as VueI18n from 'vue-i18n';

fails since it's not able to find the proper constructor when calling

new VueI18n({});

Now it can be imported like a normal ES2015 module using

import VueI18n from 'vue-i18n';

@kazupon kazupon merged commit b295fee into kazupon:dev Dec 14, 2017
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.

2 participants