Types error when using with typescript/tsx
b-tiwari opened this issue · 2 comments
I am getting below errors when using this awesome package with typescript.
I have followed the installation instructions as specified on the package's github page
Even though I do have skipLibCheck: true
in tsconfig's compilerOptions and also have 'node_moduels in the excluded
list of tsconfig, not sure why getting these errors, most of these are for the type discrepancies in node_modules/@mindinventory/react-native-tab-bar-interaction
folder.
Please help
@b-tiwari
Please try now with the latest version of react-native-tabbar-interaction lib. we have added typescript support to this lib.
Feel free to reopen or create a new issue if you get the same issue.
Thanks for the reply.
yes, I had the most recent version with typescript type defs. I am guessing, the error could be because I have strict
and noImplicitAny
set to true
in my tsconfig
which you might have set to false in yours.
I moved on to another library for tabs, not using this any longer. So its not urgent. But you may still want to look into the issue.