The symptoms are too early to be presumed to be that of typhoid
unless there is proof by blood tests. Hence I would't suggest you to consider them as a typhoid infection, if blood tests are negative. Viral infection can also have similar symptoms.
Nevertheless, continue with the medications as suggested by the doctor. Avoid spicy food and solid food... Plenty of fluids is recommended... Report to your doctor or post them here if there are any further problems...