01 - Preheat oven to 350°F (175°C). Grease a 9×13-inch baking dish.
02 - In a large bowl, combine mashed sweet potatoes, granulated sugar, eggs, melted butter, milk, vanilla extract, and salt. Mix until smooth and fully combined.
03 - Spread the sweet potato mixture evenly into the prepared baking dish.
04 - In a medium bowl, mix together brown sugar, flour, melted butter, and chopped pecans until crumbly.
05 - Sprinkle the topping evenly over the sweet potato mixture.
06 - Bake for 30–35 minutes until the topping is golden brown and the casserole is heated through.
07 - Let cool slightly before serving.