Changed the type name from 'bool' to 'boolean' to follow the change in TypeScript
Fixed typo in all places
Merge pull request #2 from fbenz/adjustments

Fixed typo (in all places) & renamed 'bool' to 'boolean'