Preheat the oven to 350 degrees F. Prepare a donut pan with cooking spray.
Place the flour, brown sugar, granulated sugar, baking powder and salt in a large bowl. Stir to combine.
Add the eggs, milk, butter and vanilla extract to the bowl. Whisk until smooth.
Place the batter in the Wilton decorating set and pipe the batter into the wells of the pan.
Bake for 10 minutes. Allow the donuts to cool for about for 3 minutes, then remove them from the pan and allow them to continue to cool.
Repeat the process with the remaining batter for the second batch of donuts.
Allow all of the donuts cool completely.