In a large pot, bring salted water to a boil. Add the gnocchi and cook according to package instructions, usually until they float to the surface. Drain and set aside.
In a large skillet, heat olive oil over medium heat. Add minced garlic and sauté for about 1 minute, until fragrant but not browned.
Stir in the chopped sun-dried tomatoes and Italian seasoning. Cook for an additional 2-3 minutes to heat through.
Pour in the heavy cream and bring to a gentle simmer. Cook for 3-4 minutes, allowing the sauce to thicken slightly.
Add the cooked gnocchi to the skillet along with the chopped spinach. Toss everything together to coat the gnocchi in the creamy sauce. Cook for another 2-3 minutes until the spinach is wilted.
Stir in the grated Parmesan cheese and mix well until melted and creamy. Season with salt and pepper to taste.
Remove from heat and plate the gnocchi. Garnish with fresh basil leaves for an aromatic finish.