bool deprecated by Typescript 0.9
updated to boolean.
Removed unnecessary comma 

Found error compilation in typescript 0.9 beta
Removed unnecessary comma
Merge pull request #607 from damianog/master

bool deprecated by Typescript 0.9