Prep Time 25 minutes mins
Cook Time 12 minutes mins
Resting Time 1 hour hr
Total Time 1 hour hr 37 minutes mins
Keep the custard thick enough to mound on a spoon; if it seems loose, cook 30 to 60 seconds longer or chill a bit more so it won’t leak while baking. For extra insurance, freeze teaspoon-sized custard dollops on parchment for 20 minutes and wrap the dough around the frozen centers. Make sure the melted butter is fully cooled so the dough doesn’t get greasy, and chill the dough briefly to make sealing easier. Don’t overbake—pull cookies when the centers look just underdone for maximum chew. The dough can be made 24 hours ahead, and shaped cookies freeze well; bake from frozen adding 1 to 2 minutes. Use milk, semisweet, or chopped dark chocolate chunks for varied texture.