I have created my own REACT JSX application and wanted to publish it on npm.
Before that, I used npm link and tried tested in my local machine
Installation is successful. But, While Importing like
import App from 'moduleName';
it is throwing,
Could not find a declaration file for module 'moduleName'. 'E:/learning/react/testing-app/node_modules/modulename/src/index.js' implicitly has an 'any' type.
On research, I found the need to add a .d.ts file. But my app is not built using TypeScript.
Please help