1. Prepare the pastry:
- Allow the puff pastry to thaw in the fridge so it stays firm and easy to work with.
- Lightly dust your work surface with flour and roll out the pastry.
- Using a ghost-shaped cookie cutter (or a knife if you prefer squares or circles), cut out an even number of shapes.
- Place the cutouts back in the fridge to chill while you prepare the filling.
2. Make the apple filling (if using):
- Melt a knob of butter in a pan over medium heat.
- Add the peeled and grated apple and cook until softened, about 5 minutes.
- Stir in lemon juice, cinnamon, caster sugar, and cornflour (mixed with 1 tablespoon of water).
- Cook until thickened to a pie-filling consistency, then remove from the heat and let cool slightly.
3. Assemble the hand pies:
- Whisk the egg and set aside.
- Take the chilled pastry cutouts and place about 1 teaspoon of either apple filling or jam filling in the center of half the cutouts.
- Be careful not to overfill, or the pies will be difficult to seal.
- Brush the edges with whisked egg, then place a second pastry cutout on top.
- Gently press the edges together and crimp with a fork to seal.
4. Bake:
- Preheat the oven to 180°C.
- Brush the tops of the hand pies with the remaining whisked egg.
- Bake for 15–18 minutes, or until golden and crisp.
5. Make the glaze (optional):
- Whisk together powdered sugar, milk, and vanilla extract until smooth.
6. Glaze and set:
- Once the pies have cooled to room temperature, dip the tops into the glaze.
- Place on a lined baking sheet and allow the glaze to set before serving.