Pedialyte for a newborn?

Ga

I had my baby 3 days ago and today we saw his pediatrician and he said he had jaundice and to give him pedialyte to help him pee it out. I’ve never heard of letting a baby have anything but breast milk/formula before they are 6 months? Especially at 3 days old?? Has anyone heard of this or done this? Any nurses or doctors on here who follow this rule?