Fix ts lint errors