In a microwave-safe mug, whisk together the flour, sugar, cocoa powder, salt, and baking powder.
Add the milk, vegetable oil, and vanilla extract. Stir until smooth and well combined.
Fold in the chocolate chips, if using.
Microwave on high for 60-90 seconds, or until the cake has risen and set.
Let it cool slightly before enjoying.