Fix TypeScript module declaration
Merge pull request #362 from nerdzeu/master

Fix TypeScript module declaration