Preheat the oven to 200°C (392°F).
In a bowl, mix together egg yolks, sugar, milk, and vanilla extract.
Strain the mixture to make it smooth.
Line tart molds with puff pastry.
Pour the egg mixture into the molds.
Bake in the oven for 20 minutes until golden brown.
Let it cool and it's ready to serve.