bool is now interpreted as any in TypeScript