Evolution of solar-type stellar wind