01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - In a large bowl, beat the butter, brown sugar, and granulated sugar together until light and creamy.
03 - Mix in the mashed bananas, egg, and vanilla extract until well combined.
04 - In a separate bowl, whisk together the rolled oats, flour, baking soda, cinnamon, and salt.
05 - Gradually add the dry ingredients to the wet mixture, stirring until just combined. Do not overmix.
06 - Gently fold in chocolate chips or chopped walnuts if using.
07 - Drop tablespoon-sized mounds of dough onto the prepared baking sheet, spacing them about 2 inches apart.
08 - Bake for 10 to 12 minutes until the cookie edges are golden but the centers remain soft.
09 - Let the cookies rest on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.