react-native-multiple-image-picker icon indicating copy to clipboard operation
react-native-multiple-image-picker copied to clipboard

fix Type mismatch openPicker using singleSelectedMode

Open mitsuharu opened this issue 2 years ago • 1 comments

fix #131

I fixed index.d.ts for TypeScript.

At project using TypeScript, types are correctly inferred as shown in following VS Code screenshot.

before after
ts-ng ts-ok

In addition, I added sample code for the TypeScript case to README.

README
fix-readme

mitsuharu avatar Dec 02 '23 09:12 mitsuharu

Thanks to approve it!

mitsuharu avatar Dec 27 '23 03:12 mitsuharu