bool is now boolean in TypeScript 0.9.x