When ABC announced that the 20-year-old sitcom “Roseanne” would return to its lineup, it seemed like a really bad idea to some.

Television reviewers were thrilled when “Will & Grace,” off the air for 11 years, was revived on NBC, but “Roseanne,” well . . . that was a different matter.

With its gay characters and left-leaning politics, “Will & Grace” was a comedy the media and viewers could embrace. This wasn’t just nostalgia; this was a re-energized sitcom about some seriously neurotic upscale New Yorkers wondering why they weren’t young anymore, with an anti-Trump agenda that soothed Hollywood’s shattered nerves following Hillary Clinton’s 2016 electoral defeat.

By contrast, “Roseanne,” with its blue-collar characters who take life as it comes and are usually trying to make ends meet, became associated with the political right when its star, renegade comic Roseanne Barr, declared herself a Trump supporter.

In Hollywood, that’s like showing up on Easter morning saying you’re the Antichrist.

When Barr hinted that her political beliefs would be reflected in the show’s comedy, the knives came out. The show’s mixed critical reviews were circulated online. Fearful viewers took to Twitter to vent their outrage that a show like “Roseanne” should exist now.

Tuesday night, Barr had the last laugh, and it was a loud one.

Her show had blockbuster numbers, with nearly 18 million viewers during the first half-hour and more than 18 million during the second. The show netted a 5.1 rating in the 18-to-49 demo. In comparison, the September 2017 premiere of the “Will & Grace” revival had just 10 million viewers and a 3.0 in the 18-to-49 demo.

If this was Barbra Streisand dropping an album after a 20-year absence, Hollywood insiders would be flocking to her Malibu estate and bringing their dogs along so she could have them cloned.

But it’s not. And Hollywood is startled, rather than simply happy that 18 million people tuned in to watch a TV show at all last night.

Maybe it’s not so bad to be working-class after all. Or even, by association, a Trump supporter.

The simple truth is that Roseanne’s fans were waiting for her. As one of the few female comics who cultivates a blue-collar audience, she proved she was smart to come back with the original cast (John Goodman, Laurie Metcalf, Michael Fishman, Sara Gilbert, Lecy Goranson) for a contemporary look at the Conner family. People like her because she’s a straight shooter.

Unlike many media-trained Hollywood robots who have the same politically correct views, she speaks her mind and doesn’t care if you can’t stand her for it.

Her success in no way diminishes the success of “Will & Grace,” which has been renewed for a third season.

What “Roseanne” shows is that there’s room for more than just one belief system. Twitter may freak out, but in the end the audience has the final say. And Trump supporter or not, they love Roseanne.