Currently, I am utilizing the "Rhea" module (https://www.npmjs.com/package/rhea) in my project. This module has its own typings for typescript located in the /typings folder within the module directory (/node_modules/rhea/typings). This differs from the usual @types modules that can be installed via NPM.
To incorporate this module into my project, I use the following code snippet:
var container = require('rhea');
Everything seems to be working fine so far, but the issue is that 'container' is of type 'any'. This leads me to wonder:
How can I:
- Configure VS Code to provide typescript intellisense for these typings?
- Ensure that the Tsc command checks the typings when executed?