Spoiler Warning: This post contains major spoilers for ABC’s “Roseanne” spin-off “The Conners”

“The Conners” premiered on ABC Tuesday, and the episode reveals the fate of Roseanne Conner, who was played by Roseanne Barr.

In May, Roseanne Barr was fired from ABC’s revival of “Roseanne” hours after posting a racist tweet comparing former Obama adviser Valerie Jarrett to an ape.

“Roseanne’s Twitter statement is abhorrent, repugnant and inconsistent with our values, and we have decided to cancel her show,” ABC Entertainment President Channing Dungey said in a statement.

The revival was subsequently canceled. But because the show was such a ratings hit, ABC decided to continue the show under a new name with the remaining cast. That show is "The Conners," which premiered on ABC Tuesday night.

The premiere episode of "The Conners" reveals exactly how Roseanne Conner dies. In September, Barr said in an interview that her character would die of an opioid overdose.

The show's premiere - which revolves around Roseanne's death - begins with the family believing that she died of a heart attack in her sleep following knee surgery. But the family finds out after an autopsy that Roseanne actually died of an opioid overdose, though she didn't have a prescription for the pain killers. After looking into the new discovery, the family figures out that she exchanged the pain medicine with friends and hid it around the house right under the noses.

"The Conners," which stars John Goodman, Sara Gilbert and Laurie Metcalf, airs on ABC Tuesdays at 8 p.m. ET.

Visit INSIDER's homepage for more.