LiveQuery with React and TypeScript

Hello, how can I use the parse LiveQuery with React and TypeScript? I’ve tried many different ways but none seems to work as expected. Parse.LiveQueryClient gives off a TypeScript error (does not exist…);
I was thinking about Parse.LiveQuerySubscription but didn’t find any documentation. Please help me at least with Parse and Typescript so I can figure out how to do it on React. Thanks

Would you mind to share what you’ve tried so far and the error that you have? Maybe it would be easier for someone to help.

I’ve tried query.subscribe(), Parse.LiveQueryClient(), and all the other ways I found on the Internet.
It gives off a websocket error. I’m using back4app and I enabled everything. I can’t wrap my head around this one…

Would you mind to share the code that you tried?