I think there might be an error at the end of your code in Adding our subscription - the subscription resolver messageSent is of type Chat {} but get the error:
A function whose declared type is neither 'void' nor 'any' must return a value.
Let me know if this is correct or I have made a mistake :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I love this thank you!
I think there might be an error at the end of your code in Adding our subscription - the subscription resolver
messageSent
is of type Chat {} but get the error:Let me know if this is correct or I have made a mistake :)