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

[cloudinary_v1.x.x] Add libdefs for cloudinary #3060

Merged
merged 1 commit into from Jan 11, 2019

Conversation

nvie
Copy link
Contributor

@nvie nvie commented Jan 8, 2019

Note that this library has only been partially typed. I did include all the objects that are exported from the top level of this module, but marked them __TODO__ (alias for any). I'm not interested in typing those APIs out completely, as I don't personally use/need those APIs. However, someone who's interested in them can easily update this definition later on.

I figured having a partially typed API is better than having no typing at all? This way, coverage can be incrementally improved upon over time. Is this considered a good or bad practice?

| 'imagga_crop'
| 'imagga_scale';

// Source: https://cloudinary.com/documentation/image_transformation_reference
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work with references!

Copy link
Member

@villesau villesau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, definitely better than nothing, thanks!

@villesau villesau merged commit 9b5437e into flow-typed:master Jan 11, 2019
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.

None yet

2 participants