Replies: 2 comments
-
It's |
Beta Was this translation helpful? Give feedback.
0 replies
-
Add this line to a .d.ts file in your project: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found an issue where it was said that Heroicons now have type definitions by default. But when I import it in my Next project, TypeScript throws the following error:
Could not find a declaration file for module ‘@heroicons/react/outline. c:/Users/junbi/Documents/Programming/JDG/rede-social-front-end/node_modules/@heroicons/react/outline/index.js implicitly has an ‘any’ type. Try npm i --save-dev @types/heroicons__react if it exists or add a new declaration (.d.ts) file containing declare module '@heroicons/react/outline
.Also, the npm page dosen't shows that the package has support for typescript
Beta Was this translation helpful? Give feedback.
All reactions