minor fix

as per
https://typescript.codeplex.com/wikipage?title=Writing%20Definition%20%28.d.ts%29%20Files
await optimisations (WIP)

no longer creates a new promise on each await