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

Declaration file not found, index.js implicitly has "any" type. #9

Open
06ykl opened this issue Dec 11, 2021 · 1 comment
Open

Declaration file not found, index.js implicitly has "any" type. #9

06ykl opened this issue Dec 11, 2021 · 1 comment

Comments

@06ykl
Copy link

06ykl commented Dec 11, 2021

Seems that when importing the module in TypeScript, it throws the error:

Could not find a declaration file for module '@psibean/discord.js-pagination'. 'C:/Users/ascen/OneDrive/Documents/Programming/Discord Bots/RN-Discord-Bot/node_modules/@psibean/discord.js-pagination/src/index.js' implicitly has an 'any' type.

Adding a typings file and declaring the module seemed to fix the problem, so that would be a suggestion.

@06ykl
Copy link
Author

06ykl commented Dec 11, 2021

Update: Added a pr

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

1 participant