thanks for your query.Typhoid
is not at all transmitted due to sexual intercourse.
please do not worry at all.
It is quite safe to have intercourse while you are being treated for typhoid.
Typhoid is transmitted through feco oral route, that is, through contaminated food and water, and in no other way.
Keep your utensils separate in the kitchen, also your toilet linen, till you are completely treated
All the best