GruntJS: Fixed compile errors in TS 0.8. It gives better intellisense in...

Fixed compile errors in TS 0.8. 
It gives better intellisense in TS 0.9 as well