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
Include relevant code or preferably a code sandbox
Describe the bug
Build Issues with next.js
Type error: Could not find a declaration file for module 'react-data-table-component'. 'D:/tathyaAPI/tathya/tathyaweb/node_modules/react-data-table-component/dist/index.cjs.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/react-data-table-component` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-data-table-component';`
3 | import { getCloudData, updateCloudData } from "@api/api";
4 | import { TCloudData, TDateRange, TImage, TPlant } from "@types";
> 5 | import DataTable, { ExpanderComponentProps, TableColumn } from 'react-data-table-component';
Versions (please complete the following information)
Issue Check list
styled-components
Describe the bug
Build Issues with next.js
Versions (please complete the following information)
Additional context
package.json
The text was updated successfully, but these errors were encountered: