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

Missing Declaration File #19

Open
erdemdev opened this issue Oct 10, 2023 · 2 comments
Open

Missing Declaration File #19

erdemdev opened this issue Oct 10, 2023 · 2 comments

Comments

@erdemdev
Copy link

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.

@erdemdev erdemdev changed the title TypeScript Errors with 'react-tabs-scrollable' npm package Missing Declaration File Oct 10, 2023
@Mood-al
Copy link
Owner

Mood-al commented Oct 14, 2023

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

@DDeme
Copy link

DDeme commented Mar 15, 2024

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

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

3 participants