For my part, while I have some mixed feelings about introducing whitespace signifigance, I sympathize w the OP and in TypeScript projects, have sometimes wished for more intuitive disambiguation. As for conventions, I might prefer
key: value
(trailing space for eg JS props), vs
foo :type
(leading space for types)