Skip to content
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

How can i install type definitions? ❓ #8

Closed
me1k opened this issue Feb 28, 2021 · 4 comments
Closed

How can i install type definitions? ❓ #8

me1k opened this issue Feb 28, 2021 · 4 comments
Labels
💭 question Further information is requested

Comments

@me1k
Copy link

me1k commented Feb 28, 2021

How to use the module without type definitions?

Hi, i saw your post about the Camera library on Reddit and directly wanted to try it out in my Typescript project. I also can see that you use Typescript in the Project. But my project is complaining, that there are no type definitions. How can i install them or use your module now? :)

@me1k me1k added the 💭 question Further information is requested label Feb 28, 2021
@mrousavy
Copy link
Owner

Hey! Types are available in the latest version, that's 1.0.0-alpha.6. Which version are you on?

@me1k
Copy link
Author

me1k commented Feb 28, 2021

Thank you for your answer! When i install it with yarn, i installs 1.0.0-alpha.1

@mrousavy
Copy link
Owner

Yes, that's because only alphas are available on npm. In the README I have mentioned that you have to install it with the @Alpha suffix (Or manually change the version in package.json)

@me1k
Copy link
Author

me1k commented Mar 1, 2021

I changed it manually in the package.json and it works fine now. Thank you very much. I'm looking forward to use your camera component :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants