Changed bool -> boolean to align with TypeScript 0.9

Updated the bool type definitions to boolean to align with TS 0.9 and
ES6 standards.