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

TS error is not disappearing even after adding type declaration file #15

Open
curious-fireart opened this issue Aug 22, 2024 · 2 comments

Comments

@curious-fireart
Copy link

curious-fireart commented Aug 22, 2024

I added declaration types to global.d.ts file, but there is still type error. global.d.ts is included in tsconfig. I reloaded my code editor a couple of times and re-run necessary scripts. Unfortunately, there is still ts error on my codebase.

next - v.13.1.1;
react-voice-recorder-player - v.1.2.0

image


image
@curious-fireart
Copy link
Author

@AbreezaSaleem could you take a look this issue, please?

@AbreezaSaleem
Copy link
Owner

@curious-fireart I fixed this issue a while back. Can you double-check for me that you're using the latest version?

You can either run the following command:
npm ls --depth=0
and search react-voice-recorder-player

or you can search the node_modules/react-voice-recorder-player folder and open package.json to see the version.

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