After creaming the butter, granulated sugar, and brown sugar, mix in the vanilla extract and egg yolk. Mix in the flour, baking soda, cornstarch, and salt until mixed. Then, fold in the chocolate chips and walnuts.