I would prescribe a high calorie
high protein diet
energy and protein needs are increased due to the fever
(typhoid) and low intake.
Meals should be small and given at frequent interval, instead of a few large meals a day. Intake of oral fluids and salts should be sufficient to cover up the loss. A bland, soft (for easier digestion and absorption) may help.