In a large bowl, whisk together the flour, cocoa powder, cornstarch, baking powder, baking soda and salt. Set this aside. In the large bowl of a stand mixer fitted with a paddle attachment, beat the butter and both sugars together until smooth, then add the egg, egg yolk and vanilla and beat until combined, scraping down the sides of the bowl as needed.