Tuning the catalytic functionality of transition metal dichalcogenides grown by chemical vapour deposition