In the process of developing a library that relies on another package lacking a declaration file in its npm package, I have successfully installed the necessary declaration file with typings. Everything seems to be working well.
Yet, the question remains: how can I publish my library so that users who install it do not need to concern themselves with type dependencies?
If a declaration is published on the typings registry, this issue is easily resolved as typings will generate a new declaration file handling the dependencies automatically for you.
For example, if I wanted to transfer the typescript typings for react-notification-system to the react-notification-system repository, I would encounter a dependency on the installed typings of react. How should I proceed to add these typings to the repository?