react-sidenav icon indicating copy to clipboard operation
react-sidenav copied to clipboard

npm problem

Open angeloCabezas opened this issue 5 years ago • 2 comments

I installed the library, but when I try to reference it, I get the following message :

Severity Code Description Project File Line Suppression State Error TS7016 (TS) Could not find a declaration file for module '@trendmicro/react-sidenav'. 'C:/Users/LENOVO/source/repos/SideBarMenu/SideBarMenu/ClientApp/node_modules/@trendmicro/react-sidenav/lib/index.js' implicitly has an 'any' type. Try npm install @types/trendmicro__react-sidenav if it exists or add a new declaration (.d.ts) file containing declare module '@trendmicro/react-sidenav'; C:\Users\LENOVO\source\repos\SideBarMenu\SideBarMenu\ClientApp (tsconfig or jsconfig project) C:\Users\LENOVO\source\repos\SideBarMenu\SideBarMenu\ClientApp\src\App.tsx 8

In short : I can't access to @trendmicro/react-sidenav

angeloCabezas avatar May 11 '20 00:05 angeloCabezas

Same issue

mohsinht avatar Jun 07 '20 10:06 mohsinht

This might be helpful: https://stackoverflow.com/questions/41462729/typescript-react-could-not-find-a-declaration-file-for-module-react-material

siefkenj avatar Feb 16 '21 01:02 siefkenj