01 - Preheat the 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 until light and fluffy.
03 - Add the mashed bananas, egg, and vanilla extract to the creamed mixture. Mix until well combined.
04 - In a separate bowl, whisk together the flour, baking soda, cinnamon, and salt.
05 - Gradually add the dry ingredients to the wet mixture, stirring until just combined. Do not overmix.
06 - Fold in the rolled oats and chocolate chips or walnuts, if using, until evenly distributed.
07 - Drop tablespoon-sized mounds of dough onto the prepared baking sheets, spacing them about 2 inches apart.
08 - Bake for 10 to 12 minutes, or until the edges are golden and the centers look just set.
09 - Allow the cookies to cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.