ol.layer.Vector.getSource return type specialisation.
Remove unnecessary type cast
Merge pull request #2651 from gberaudo/layer_vector_source_specialisation

ol.layer.Vector.getSource return type specialisation.