01 - Preheat the oven to 400°F.
02 - Heat olive oil in a large oven-safe skillet over medium heat. Add the onion and carrots; cook for 5 minutes until softened.
03 - Add the garlic and cook for 1 minute, then add the ground beef or lamb. Cook, breaking up the meat, until browned and no longer pink, about 5-7 minutes. Drain excess fat if needed.
04 - Stir in the tomato paste, Worcestershire sauce, thyme, rosemary, salt, and pepper. Cook for 2 minutes.
05 - Pour in the broth and simmer for 5 minutes, until slightly thickened. Stir in the frozen peas and remove from heat.
06 - Meanwhile, cook the gnocchi according to package instructions. Drain and toss with melted butter.
07 - Evenly spoon the cooked gnocchi over the meat mixture. Sprinkle with cheddar and Parmesan cheese.
08 - Bake in the preheated oven for 15-20 minutes, until the cheese is golden and bubbly.
09 - Let rest for 5 minutes before serving.