Preheat oven to 350°F (175°C).
Mix flour, powdered sugar, and butter until a dough forms.
Press into mini tart molds and bake for 12–15 minutes until lightly golden.
For the cream, whisk egg yolks, sugar, and cornstarch.
Heat milk, then slowly whisk into the egg mixture.
Return to the stove and cook until thickened.
Stir in vanilla and cool completely.
Heat cream and pour over chocolate chips. Stir until smooth.
Fill tart shells with vanilla cream.
Top with ganache, pipe whipped cream if desired, and garnish with raspberries.