bowl, whisk together egg yolks, remaining sugar, cornstarch, and salt until smooth. Slowly pour the hot milk mixture into the yolk mixture, whisking constantly to prevent curdling. Return the mixture to the saucepan and cook over medium heat, stirring continuously until it thickens into a smooth custard. Remove from heat, add butter and vanilla extract, and stir until combined. Cover the surface with plastic wrap to prevent a skin from forming, and let cool completely.
Step 3: Assemble the Slices
Place one baked puff pastry sheet on a flat surface