Fix typescript declaration issue

Declare now needed: https://typescript.codeplex.com/wikipage?title=Known%20breaking%20changes%20between%200.8%20and%200.9
Merge pull request #12 from twopoint718/master

Fix typescript declaration issue