Preheat the oven to 190°C and lightly grease a 23 x 33 cm baking dish with a small amount of the melted butter.
Place the sweet potato chunks in a large pot, cover with cold water, and bring to a boil over medium-high heat. Cook for 15 to 18 minutes, or until the sweet potatoes are very tender when pierced with a fork.
Drain the sweet potatoes thoroughly and return them to the warm pot for 1 minute to let excess moisture evaporate. Mash until mostly smooth.
Add 45 grams of the melted butter, 70 grams of the brown sugar, the whole milk, beaten egg, vanilla extract, cinnamon, and salt to the mashed sweet potatoes. Stir until fully combined and smooth.
Transfer the sweet potato mixture to the prepared baking dish and spread it into an even layer with a spatula.
In a small bowl, mix the flour, remaining 30 grams brown sugar, remaining 15 grams melted butter, and chopped pecans until crumbly and evenly coated.
Sprinkle the pecan topping evenly over the sweet potato layer, covering the surface without pressing it down.
Bake for 27 to 30 minutes, until the casserole is hot throughout and the topping is lightly browned and crisp.
Let the casserole rest for 5 minutes before serving so it sets slightly and scoops neatly.