react-advanced-news-ticker
react-advanced-news-ticker copied to clipboard
Could not find a declaration file for module
Could not find a declaration file for module 'react-advanced-news-ticker'. 'D:/Projects/nextjs/wp/node_modules/react-advanced-news-ticker/dist/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/react-advanced-news-ticker
if it exists or add a new declaration (.d.ts) file containing declare module 'react-advanced-news-ticker';
ts(7016)
Create a folder in your project and name it @types
. After that, create a file with the name of alltypes.d.ts
and inside it, type this:
declare module "react-advanced-news-ticker";
That's all!