Skip to content

Conversation

@N3VERS4YDIE
Copy link

This PR fixes the TypeError: translate is not a function caused by incorrect destructuring import.

The package @vitalets/google-translate-api@7.x exposes translate as the default export, so the import statement was updated accordingly.

Fixes #4.

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.

TypeError: translate is not a function when running translation command

1 participant