TypeScript 0.9.5 support

the type-aliases for bool and Array are obsolate in the newest version of typescript!
bool -> boolean
Array -> any[]