Whisk together the cornstarch, salt, spices, sugar and brown sugar.
Add the mashed, steamed pumpkin flesh.
Beat the eggs and lukewarm milk and add to the other prepared mixture.
Place on the short crust pastry in the tart pan.
Bake in the oven at high temperature (230 °C) for 5 minutes, then reduce the temperature to 180 °C and continue baking for approx. 20 minutes.
Sprinkle some cocoa powder over for additional garnishing!