Heat olive oil in a large skillet over medium-high heat.
Add the mushrooms, onions, and gnocchi. Cook for 2-3 minutes while stirring frequently.
Stir in the garlic and red pepper flakes, add more oil if needed, and cook for 20 seconds.
Add the heavy cream and parmesan cheese and cook for 1 minute or until the sauce thickens.
Once the sauce thickens, turn off the heat, add the truffle oil, and season with salt.
Serve immediately and enjoy!
