You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
The code report an error with react-weathericons module. It says that i need @types for de modole or the file .d.ts. When i create this file the error disappears, but the icons are still not show.
Node Version: 8.11.4
npm Version: 5.6.0
The text was updated successfully, but these errors were encountered:
rortegac
changed the title
Modulo dont import in react
Module dont import in react
Sep 13, 2018
Hello @rortegac
First, this is an old project where I was learning to create modules with npm.
It has a big chance to be outdated.
Another thing, I think d.ts is a TypeScript specific file. When I was building this project I din't use TypeScript at all! So, the module doesn't have the type declaration which TypeScript needs.
I have a problem when i trying to import the module in my code. When i do this:
The code report an error with react-weathericons module. It says that i need @types for de modole or the file .d.ts. When i create this file the error disappears, but the icons are still not show.
Node Version: 8.11.4
npm Version: 5.6.0
The text was updated successfully, but these errors were encountered: