bamlab/react-native-image-resizer

[3.0.6] is missing types

efstathiosntonas opened this issue · 5 comments

After upgrading to 3.0.6 I get missing types error.

Screenshot 2023-08-22 at 15 48 23

atheck commented

Same here

@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

No problem. Thank you for your effort.

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

Thanks @taboulot!! Keep it up