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

Can't compile from typescript #207

Closed
rgarcia-longevo opened this issue May 16, 2022 · 2 comments
Closed

Can't compile from typescript #207

rgarcia-longevo opened this issue May 16, 2022 · 2 comments

Comments

@rgarcia-longevo
Copy link

Hello, Team.

I'm trying to use Ora from a typescript app and it doesn't compile.
The error
Screen Shot 2022-05-16 at 00 00 20

it happens when I try to import the library
Screen Shot 2022-05-16 at 00 01 38

I'm using the following versions:
ora: 6.0.1
typescript: 4.2.2
ts-node: 10.0.0

Thank you for this awesome library!

@sindresorhus
Copy link
Owner

https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

You also need TypeScript 4.7.

Alternatively, use Ora v5 instead.

@rgarcia-longevo
Copy link
Author

Thank you so much! It's resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants