Made every type declaration explicit to prevent compilation errors when using the --noImplicitAny switch.
Merge pull request #1727 from demerzel3/master

Thanks for contributing @demerzel3!