bamlab / react-native-image-resizer

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

[3.0.6] is missing types #383

Closed efstathiosntonas closed 12 months ago

efstathiosntonas commented 12 months ago

After upgrading to 3.0.6 I get missing types error.

Screenshot 2023-08-22 at 15 48 23

atheck commented 12 months ago

Same here

taboulot commented 12 months ago

@efstathiosntonas & @atheck just saw the problem 😩

For any reason the type files generation path changed...

Going to investigate why and push a fix before the end of the day.

Until then the patch you can apply:

// Go in node_modules/@bam.tech/react-native-image-resizer/package.json

// Replace this line
 "types": "lib/typescript/src/index.d.ts",

// by this line
 "types": "lib/typescript/index.d.ts",

Sorry for that.

atheck commented 12 months ago

No problem. Thank you for your effort.

taboulot commented 12 months ago

@efstathiosntonas & @atheck new release 3.0.7 published with fix.

efstathiosntonas commented 12 months ago

Thanks @taboulot!! Keep it up