What I did is a bit like a long way and not quite your scenario, but it worked for me and, I hope, people in my situation will land here ...
In my script, I ripped out NuGet as the typescript definition manager and replaced it with tsd, and I needed a specific version of lodash typescript definition (0.4.1), but tsd installed the latest version. Since the version of how it works is not yet supported during installation, and tsd uses commit hashes to keep track of which version you are using, I used nuget to find the version I need:

then replaced the "commit" hash in tsd.json with the git commit specified in the description:

It was a bit painful because I had to enter the hash manually, but it ensured that I had the version I needed.
source share