I'm using WebStorm to build a Node.js app. I'm using TypeScript.
When I use "require" statements I get this warning:
unresolved function or method require
It happens only in TypeScript files. In js files there's no problem. The code works BTW, it's only a warning.
I've found many questions about this warning but they all about JavaScript, and in my project js files have no problem with the "require" statement, just the ts files.
Any help will be profoundly appreciated!