invariant type error
mskarimi opened this issue · comments
Hi
Please added @types/invariant to package.json
I got error when run tsc --pretty --noEmit
Try npm i --save-dev @types/invariant
if it exists or add a new declaration (.d.ts) file containing declare module 'invariant';
2 import invariant from 'invariant'
~~~~~~~~~~~
Found 1 error in node_modules/react-native-document-picker/src/index.tsx:2
Hello and thanks for reporting,
the dependency is already present: https://github.com/rnmods/react-native-document-picker/blob/301c551970fd053d9f1b99a05e2236210ad9dcf8/package.json#L61
Thank you 🙂