Lithium charge module on NiMh batteries
You should never charge one type of a battery with a charger designed for another type, because that could be truly dangerous.

The reason behind is that NiMh and lithium batteries have different chemistries, different cell voltages (1.2 V for NiMh and 3.7 V for lithium), so they require different charging methods/algorithms.

With an inappropriate charging you could damage the battery, which could cause capacity loss or fire (specially in case of lithium and LiPo cells).