01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a large bowl, cream together the butter, brown sugar, and granulated sugar using an electric mixer until light and fluffy.
03 - Add the mashed bananas, egg, and vanilla extract to the creamed mixture. Beat until well combined.
04 - In a separate bowl, whisk together the flour, baking soda, cinnamon, and salt until evenly distributed.
05 - Gradually add the dry ingredient mixture to the wet ingredients, stirring gently until just combined. Do not overmix.
06 - Fold in the rolled oats along with chocolate chips or chopped walnuts if using, distributing evenly throughout the dough.
07 - Drop tablespoon-sized mounds of dough onto the prepared baking sheets, spacing them about 2 inches apart to allow for spreading.
08 - Bake for 10 to 12 minutes, or until the edges are golden brown and the centers appear just set.
09 - Let the cookies rest on the baking sheets for 5 minutes, then transfer to a wire rack to cool completely before serving or storing.