In a large pot of salted boiling water, add the gnocchi and cook according to the package instructions, usually 2-3 minutes until they float to the top. Drain and set aside.
In a large skillet, heat the olive oil over medium heat. Add the minced garlic and sauté for about 30 seconds until fragrant.
Stir in the chopped spinach and cook until wilted, about 2-3 minutes. If using sun-dried tomatoes, add them at this time and stir well.
Lower the heat and pour in the heavy cream. Bring to a gentle simmer while stirring. Add the grated Parmesan cheese and nutmeg. Season with salt and pepper to taste, stirring until the cheese has melted and the sauce is creamy.
Add the cooked gnocchi to the skillet and gently toss until they are well coated with the creamy spinach sauce. Heat through for another 2-3 minutes.
Divide the gnocchi among plates, garnishing with freshly cracked black pepper and additional Parmesan cheese, if desired.
Notes
Serve in shallow bowls and garnish with fresh herbs and garlic bread for a complete meal.