bamlab / react-native-image-resizer

🗻 Resize local images with React Native
MIT License
1.59k stars 338 forks source link

fix typing to make outputPath actually accept null #395

Closed 1mike12 closed 3 months ago

1mike12 commented 6 months ago

the docs say

If null, resized image will be stored in cache folder.

the native code seems to allow for null values, but js side types don't match

taboulot commented 5 months ago

@1mike12 Thx for the PR. We will find someone next week at BAM to review it.