What is your career goal? What is the area of expertise?
because ... as usually ... it depends.
From limited experience and research I saw that multi-skilled positions require more cognitive load, do more work to catch up with everything, cover a wider range of problems and they have similar compensations. So most likely, from a salary point of view and your brain sake is better to be an expert.
But ... if you want to work in a startup, is a requirement, most of the times they cannot afford to have a specialist because they have needs in 5-10 areas but only a few employees.
But ... you can be an expert on some technology that has little or no demand ...
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.