AstroSat detection of Lyman continuum emission from a z = 1.42 galaxy