As of Generation 9, the most used type for gyms is Water with eight different gyms using Water type Pokemon primarily. Water is used by Misty, Wallace, Juan, Crasher Wake, Cress, Marlon, Nessa, and Kofu.
The gym with the least used type however is Dark with only one gym using Dark type Pokemon primarily. This lone gym leader being Piers.