when one is suffering from typhoid
it is suggested to avoid non veg and oily food. It is recommended to take a light nutritious diet. When you were getting treated you would have been advised to avoid such food as it is a strain to the food digestive system.
I would advise you to consult your physician if symptoms do persist.