01 - Preheat oven to 350°F. Line a baking sheet with parchment paper.
02 - In a large bowl, beat the softened butter, brown sugar, and granulated sugar together using an electric mixer or whisk until the mixture is 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, all-purpose flour, baking soda, ground cinnamon, and salt.
05 - Gradually add the dry ingredient mixture to the wet ingredients, stirring until just combined. Be careful not to overmix.
06 - Gently fold in chocolate chips or chopped walnuts if using.
07 - Drop tablespoon-sized portions of dough onto the prepared baking sheet, spacing them about 2 inches apart to allow for spreading.
08 - Bake for 10 to 12 minutes, or until the cookie edges are golden but the centers remain soft.
09 - Allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire cooling rack to cool completely.