Adds typescript support
Merge pull request #20 from mxa055/master

Adds typescript support