2 oz. freshly grated Parmesan, plus more for garnish
Freshly ground black pepper
1 c. frozen sweet peas, thawed and divided
Fresh basil leaves, for garnish
Preheat oven to 375º. Fill a large pot with water and bring to a boil. Add a small handful of salt (about 3 tablespoons) and gnocchi. Once gnocchi float to the surface, remove from pot and transfer to a large platter. Set aside.
In a skillet over medium heat, melt butter and cook ham. Remove ham from skillet and set aside with cooked gnocchi. Add shallots, garlic, and cream to skillet and simmer over medium heat. Once mixture has reduced by a third, add Parmesan and stir. Season with salt and pepper.
Add gnocchi mixture and half the peas and continue to simmer over low heat, 1 minute. Transfer mixture to a shallow baking dish and bake until mixture has thickened, 18 to 20 minutes.
Remove dish from oven and top with the remaining peas and fresh basil leaves. Serve.