Medium Transport
Flight Crew Air Transport Pilot (ATP)
Situational Awareness; Communication Breakdown
ATC Issue All Types; Conflict Airborne Conflict
Air Traffic Control Issued Advisory / Alert; Flight Crew FLC complied w / Automation / Advisory
Procedure; Human Factors; Airport
We were vectored and cleared for a visual approach into ZZZ. We were instructed to track the centerline of the runway towards the airport. About two miles from the runway the Tower Controller advised us that a departing Citation was at 8;200 ft. going in the opposite direction. Just seconds later our TCAS (Traffic Collision Avoidance System) commanded us to descend because we too were at 8;200 ft. on the visual approach. The Citation passed off our left wingtip about one mile. I didn't have the Citation in sight until after the TCAS called out the RA (Resolution Advisory). I wished the controller would have allowed us to track slightly right of the runway so we could have more lateral separation from aircraft departing ZZZ.This is unfortunately what happens when aircraft land and take-off in opposite directions from the same runway. I was required to track the centerline of the runway and I don't think the departing Citation pilot attempted to turn right all the way to 343 degrees until 9;100 ft. MSL.  It would have helped if the Tower Controller told us that there will be an opposite departing aircraft prior to that crew actually taking off instead of it being at our altitude within one to two miles from us.
Captain encountered conflict with departing aircraft.