Some third-party dependencies feature built-in support for TypeScript. For example, an example of a module with native support for TypeScript is the InversifyJS module. In this case, installing the npm module is enough, because the module includes the required type definitions:
npm install inversify --save