react-tabs-scrollable icon indicating copy to clipboard operation
react-tabs-scrollable copied to clipboard

Missing Declaration File

Open helalsoft opened this issue 2 years ago • 2 comments

When using the 'react-tabs-scrollable' npm package in my next 13 project, I encountered the following TypeScript error:

Error TS7016 - Missing Declaration File: TypeScript couldn't find a declaration file for 'react-tabs-scrollable.' It implicitly assigned it the 'any' type. Types are available at 'c:/Users/{user_folder}/{project_folder}/node_modules/react-tabs-scrollable/dist/index.d.ts,' but TypeScript couldn't resolve them according to the package.json "exports."

Additional Information:

Package Version: 2.0.6 TypeScript Version: 5.2.2 Next.js Version: 13.5.4 Node.js Version: 18.16.1 Operating System: win10

We may need an update to 'react-tabs-scrollable' package.json or typings to resolve these TypeScript issues.

helalsoft avatar Oct 10 '23 11:10 helalsoft

Hello, this needs invastigation on my side. I will see if i can patch an update soon!

Dor now you can use @ts-ignore above the import to get rid of the Error

Mood-al avatar Oct 14 '23 14:10 Mood-al

Can you please fix this issue? It would be nice to have it typescript compatible.

DDeme avatar Mar 15 '24 09:03 DDeme

I've published a new patch fixing this issue.

Mood-al avatar Aug 02 '24 12:08 Mood-al