React-Excel-Renderer Błąd NextJS
//how to fix react-excel-renderer nextjs typescript
//Inside my project I created a folder called @types and added it to tsconfig.json for find all required types from it . So it looks somewhat like this -
"typeRoots": [
"../node_modules/@types",
"../@types"
]
//And inside that I created a file called alltypes.d.ts . To find the unknown types from it . so for me these were the unknown types and I added it over there.
declare module 'react-excel-renderer';
//So now the typescript didn't complain about the types not found anymore.
adens