Skip to content

Fixed export error, use named export #136

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
Jun 24, 2022

Conversation

scarlac
Copy link

@scarlac scarlac commented Mar 29, 2022

While transpiling with typescript this error will occur:

Error while parsing /Users/yourusername/projectpath/node_modules/react-native-blob-util/index.js
Line 58, column 0: Declaration or statement expected.

This is because the export must be named. It doesn't look like the export is used directly and TypeScript definitions aren't showing it either but it should be correct code to avoid blocking compilation.

@RonRadtke RonRadtke merged commit bb5426d into RonRadtke:master Jun 24, 2022
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