AbreezaSaleem / react-voice-recorder-player

Voice Recorder Component for React
MIT License
27 stars 6 forks source link

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

Open curious-fireart opened 3 weeks ago

curious-fireart commented 3 weeks ago

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 commented 3 weeks ago

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

AbreezaSaleem commented 2 weeks ago

@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.