This fixes an issue where optional properties would get transformed to an invalid syntax. The easiest solution was to make all FunctionTypes get transformed to the arrow syntax (previously everything went the other way).