Closed pot2mayo closed 2 years ago
Found the issue. Posting the solution here for future reference.
I imported the module using the following import command from the readme
import ReactNativeZoomableView from '@openspacelabs/react-native-zoomable-view/src/ReactNativeZoomableView'
But that triggered the errors.
When importing the module using the following import it works fine.
import { ReactNativeZoomableView } from '@openspacelabs/react-native-zoomable-view';
Import method that is also visible in one of the sample code snippet from the readme
The
tsc --noEmit
command, as well as thenpm run typescript
command, generates many errors in the source of the latestv2.0.4
.