As it simmers, the excess liquid will evaporate, and the compote will naturally thicken. It's also possible to use a small amount of cornstarch mixed with water to create a slurry and stir it into the compote. However, adding cornstarch is not necessary, as extended cooking alone will achieve the desired texture.