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

TS7016: Could not find a declaration file for module  @viselect/react . #209

Closed
AugustinasMK opened this issue Sep 20, 2023 · 1 comment · Fixed by #213
Closed

TS7016: Could not find a declaration file for module  @viselect/react . #209

AugustinasMK opened this issue Sep 20, 2023 · 1 comment · Fixed by #213
Labels
unconfirmed Problem is not confirmed yet

Comments

@AugustinasMK
Copy link

What is the problem?

TS7016: Could not find a declaration file for module  @viselect/react .

What is the current behavior?

TS7016: Could not find a declaration file for module  @viselect/react .
<project_dir>/node_modules/@viselect/react/dist/viselect.mjs implicitly has an  any  type.
There are types at <project_dir>/node_modules/@viselect/react/dist/src/index.d.ts, 
but this result could not be resolved when respecting package.json  exports . The  @viselect/react  library may need to update its package.json or typings.

Please provide the steps to reproduce and create a CodeSandbox.

What is the expected behavior?

No error TS7016.

Your environment:

Toolset (e.g. webpack, vite, vue-cli...): vite
Version (@viselect/<insert package>): 3.4.0
Browser:  Chrome latest
OS:  Windows
@AugustinasMK AugustinasMK added the unconfirmed Problem is not confirmed yet label Sep 20, 2023
@AugustinasMK
Copy link
Author

For reference: gxmari007/vite-plugin-eslint#60

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

Successfully merging a pull request may close this issue.

2 participants