yarn run v1.22.19
$ tsc --noemit && eslint --ext .js,.jsx,.ts,.tsx ./
node_modules/@openspacelabs/react-native-zoomable-view/src/animations/index.ts:2:23 - error TS2307: Cannot find module 'src/typings' or its corresponding type declarations.
2 import { Vec2D } from 'src/typings';
node_modules/@openspacelabs/react-native-zoomable-view/src/helper/index.ts:2:23 - error TS2307: Cannot find module 'src/typings' or its corresponding type declarations.
2 import { Vec2D } from 'src/typings';
Found 2 errors in 2 files.
Errors Files
1 node_modules/@openspacelabs/react-native-zoomable-view/src/animations/index.ts:2
1 node_modules/@openspacelabs/react-native-zoomable-view/src/helper/index.ts:2
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
While consuming in another project, lint will complain about two import paths as they need to be relative
Resolved in https://github.com/openspacelabs/react-native-zoomable-view/pull/59
Details of lint error output
yarn run v1.22.19 $ tsc --noemit && eslint --ext .js,.jsx,.ts,.tsx ./ node_modules/@openspacelabs/react-native-zoomable-view/src/animations/index.ts:2:23 - error TS2307: Cannot find module 'src/typings' or its corresponding type declarations.
2 import { Vec2D } from 'src/typings';
Found 2 errors in 2 files.
Errors Files 1 node_modules/@openspacelabs/react-native-zoomable-view/src/animations/index.ts:2 1 node_modules/@openspacelabs/react-native-zoomable-view/src/helper/index.ts:2 error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.