Boil the milk with the sugar and salt.
Remove from the heat and add the grated chocolate.
Put back on the heat and cook for about 10 minutes, being careful.
In another container, beat the egg yolks with the cold milk, and add this mixture to the first one.
Mix everything well on the fire without burning the preparation.
Finally, pour into a salad bowl and leave to cool.