How does Monster Slayer’s Hunter’s Sense work with illusions?


Would he receive information about the creature’s vulnerabilities based on what it appears to be, would he receive no information about the creature as if it were hidden from Divination magic or would he just understand that this is an illusion based on "magically" part of the ability description?

(…you gain the ability to peer at a creature and magically discern how best to hurt it…)