TvZ counter to dark swarm and tips against dark swarm?

Title. I would like to know what’s the best unit composition to fight VS dark swarm strategies in TvZ and what units actually counters (and avoid) the dark swarm ability. Thanks.

How about firebats and Science Vessels? With irradiate you can kill the defiler and damage units inside the Dark Swarm. Firebats can actually do damage inside the swarm. There’s also the option to disengage, though if you have siege tanks, it’s harder to escape.

Edit:

http://classic.battle.net/scc/terran/tvz.shtml

Vulture Mines, tanks, Firebats, and irridiate, restore from medic in case plague.

Irradiate them closer to the zergs base. What you’re trying to do at this point of the game is wear down their gas until they have none. There is no terran solution that is very good for dealing with dark swarm directly. Your options are to wait or bypass or destroy it’s source.

Dropships, battle cruisers, and pressure keep the dark swarm casts defensive rather than in an area that can hurt you. Adding those in later on allows you to bypass the normal area for a dark swarm where you can force an error and trade supply at the same time because regardless of dark swarm you cannot allow a zerg to hit 200/200.

Often they will have ultras under that DS and the only thing that’s really decent against that is mines.