I have the following code, I am currying:
/** * @param {Messages} messages - * @returns {processMessage} - // <--- error is on this line */ function pro