I recently released a JavaScript npm package that is functioning properly. However, when importing it into another application, there always seems to be three dots in front of the name, along with an error message that reads:
Could not find a declaration file for module 'my-npm-package'
I am wondering how I can create a declaration file for it. It's worth mentioning that the package is not written in TypeScript and I have no prior experience working with TypeScript.
Here is a glimpse of my file structure:
index.js
package.json
README.md