Skip to content

fix: Could not find a declaration file for module #29

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

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

sapkra
Copy link
Contributor

@sapkra sapkra commented Jan 12, 2024

Could not find a declaration file for module '@react-hooks-library/core'. 'node_modules/@react-hooks-library/core/index.esm.js' implicitly has an 'any' type.
There are types at 'node_modules/@react-hooks-library/core/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@react-hooks-library/core' library may need to update its package.json or typings.

Copy link

vercel bot commented Jan 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hooks-library ❌ Failed (Inspect) Jan 12, 2024 1:12pm

@heyitsarpit heyitsarpit merged commit 5468b6a into heyitsarpit:main Jan 12, 2024
@heyitsarpit
Copy link
Owner

merged @sapkra ,thanks for the PR

@sapkra sapkra deleted the patch-1 branch January 12, 2024 13:29
@ItsNoHax
Copy link

I'm still seeing a similar error on:
node_modules/@react-hooks-library/core/index.d.ts:1:46 - error TS7016: Could not find a declaration file for module '@react-hooks-library/shared'. '/home/Workspace/crm-frontend-react/node_modules/@react-hooks-library/shared/index.esm.js' implicitly has an 'any' type. There are types at '/home/Workspace/crm-frontend-react/node_modules/@react-hooks-library/shared/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@react-hooks-library/shared' library may need to update its package.json or typings.

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

Successfully merging this pull request may close these issues.

3 participants