I always read the colon as separating a term (introduced for the first time) and its definition. Just compare the characters list in literature:
Hercule Poirot: an investigator
Linnet Doyle: a rich heiress
... with the list of variables at the beginning of a function: x: TypeX
y: TypeY
It makes perfect sense to me.