TypeScript no longer supports bool, see http://typescript.codeplex.com/workitem/135