Preheat the oven to 400°F.
Place the peppercorns in a large Ziploc bag and smash them into coarse pieces with a meat mallet or the bottom of a heavy pan.
Using paper towels, pat the chicken dry. Season both sides with half of the crushed peppercorns and half of the salt.
Heat the olive oil in a large oven-safe skillet over medium heat. Place the chicken in the skillet skin-side down and cook for 5 to 7 minutes, until the skin is browned.
Flip the chicken and cook for 2 more minutes. Transfer the chicken to a plate and set aside.
Add the shallot and garlic to the skillet and cook for 30 seconds.
Deglaze the skillet with the wine, scraping up the browned bits from the bottom of the pan.
Whisk in the heavy cream, rosemary, thyme, remaining salt, and remaining crushed peppercorns.
Return the chicken to the skillet skin-side up.
Transfer the skillet to the oven and bake for 35 to 40 minutes, until the chicken thighs reach an internal temperature of 175°F to 180°F.
Remove and discard the thyme sprigs.
Serve over mashed potatoes, or toss 1 pound of cooked pasta in the cream sauce and enjoy.