gev2002 / react-native-vision-camera-text-recognition

https://www.npmjs.com/package/react-native-vision-camera-text-recognition
MIT License
43 stars 7 forks source link

.map on blocks doesn't give the right type #9

Closed Valentin-Rault closed 4 months ago

Valentin-Rault commented 4 months ago

Can you export some of the types so that it is easier to refer to them, as well as looking into why text.blocks.map gives a type string | string[] | FrameType | CornerPointsType | LinesData | [] making it impossible to refer to something like block.lines