typescript ready
Merge pull request #3 from funnythingz/typescript

typescript ready