TypeScript newbie question. In our project, we are using some external JavaScript libraries where we needed to add *.d.ts files. I understand this use case and the reason why we
Are you using typings
? That seems to be the community way to manage third party types. That way you don't have to manage defining other developers' APIs.
As a point of reference the Node environment d.ts appears to just define the (err, res)
callbacks throughout the API (https://github.com/typed-typings/env-node/blob/master/6/node.d.ts)