cloudinary / cloudinary_js

Cloudinary JavaScript library
MIT License
328 stars 224 forks source link

Feature/add strict null check for types #256

Closed patrick-tolosa closed 4 years ago

patrick-tolosa commented 4 years ago

This PR fixes https://github.com/cloudinary/cloudinary-react/issues/188 in React (and a similar one in Angular).

When projects that use this package use strict null checks (in typescript), some of the definitions are malformed and throw exceptions.

This PR adds the strict null check to this project and fixes the declerations