Happy ending
A happy ending was a clichéd conclusion in which all loose ends were tied up and all main characters were content.

While having a conversation with Data, Ira Graves said that "stories often have happy endings." ()

External link 
 

Literary devices