As Gen 4 and 4.5 goes Typhoon is in MHO The top of the class but against a top gen 5 the only real advantage it has is numbers that being that the Eurofighter is likely too be and already is too some extent a top seller for those who need a new fighter but are worried about there budget. She could be so so much more though if they added thrust vectoring and put the hull though more stealth, a Silent Typhoon could be a terror.
in my opinion, Eurofighter might at the end of the day being able to beat 5th generation fighters, all these so called stealth fighters are low observable, but not invisible to radar, but here the question lies on what radar type, power density increases each day, so in my opinion more advanced radars will render shaping and RAM obsolete sooner or later.
Stealth only works as part of a system where jamming, radar silence and the range of a radar system is known.
If a stealth fighter loses its cloack of invisibility, then supercruise kicks in, in 1990 well F-22 was absolutely supreme but these days you have fighters with supercruise and thrust vectoring without too much low observable features like Su-35S or Eurofighter, these fighters once detecting the fifth generation rival are on par with them.