Switched bool to boolean for TS 0.9.1

Switched bool to boolean for TS 0.9.1.