switched typeMap from 'boolean' to 'bool'

Confirmed #1086