Fixed invalid typescript 

and verified definition http://raphaeljs.com/reference.html#Raphael.getColor