-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type declaration for BlinkId #188
Comments
Hi @pedropankaj, Could you please describe the steps you made when implementing the module in your project? Best regards, |
you does'nt have typescript packages for blinkid-react-native. plz provide |
Hello @pedropankaj, Could you please confirm that you've followed these steps https://github.com/BlinkID/blinkid-react-native#installation? Do you have git lfs installed? Best regards, |
@anjapenic @pedropankaj afaik, it's just typescript complaining about the typings, which are indeed not bundled by BlinkID, I think in earlier issues someone suggested you add them yourself, that's what we did (won't bother sharing, ours is only complete for the parts we use, and likely not even entirely correct 😅). |
@msegers would glad if you share it. would be really helpful |
Hello @OrLevy23, Please refer to this reply to check out the two options here. Regards, |
I was looking for types too, ended up creating this gist https://gist.github.com/AbijahKaj/42d848cb9a9cdb6fb0804baf82da7f3d (just place the file in the project). |
4 years later @mparadina ... did you learn Typescript yet or are you still as junior as you were in 2021? |
Hi
I am facing type declaration for blinkid :
Could not find a declaration file for module 'blinkid-react-native'. '/Users/*/Documents/ReactNativeProject//node_modules/blinkid-react-native/index.js' implicitly has an 'any' type.
Try
npm i --save-dev @types/blinkid-react-native
if it exists or add a new declaration (.d.ts) file containingdeclare module 'blinkid-react-native';
plz help
The text was updated successfully, but these errors were encountered: