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

fix: not exported type #286

Merged
merged 1 commit into from
Jul 23, 2019
Merged

fix: not exported type #286

merged 1 commit into from
Jul 23, 2019

Conversation

tgpetrov
Copy link
Contributor

PR Checklist

What is the current behavior?

There is a ImagePickerMediaType enum that seems like it can be added to the demo app:

let context = imagepicker.create({ mode: "single", mediaType: imagepicker.ImagePickerMediaType.Image });

However when I run the app, it crashes with Cannot read property 'Image' of undefined

What is the new behavior?

App doesn't crash with the above changes

Related with #285.

@tgpetrov tgpetrov requested a review from a team July 23, 2019 12:43
@cla-bot cla-bot bot added the cla: yes label Jul 23, 2019
@elena-p elena-p merged commit caf22a4 into master Jul 23, 2019
@elena-p elena-p deleted the tgpetrov/export-mediatype branch July 23, 2019 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants