Set ol.layer.Tile#getSource return type to ol.source.Tile
Remove unnecessary type cast