How to handle the hit type in ts?

Hi, I am using algolia in react in ts. I got the hits data back. However, I am not able to access the attributes. For example, the type of _highlightResult is {}, based on this, I can not access anything from it.


And the type of hit is wrong also. For example, I can print out the hit, it’s like this:

But I don’t know how to access it with typescript. This is all attributes I can access from hit:

Can algolia team help with this? Thanks.
Mike