Yes but that’s because they went behind closed doors and he told them exactly how he planned it to finish.
Just because he didn’t write the books doesn’t mean he didn’t have the story finished in his head. Authors are usually several books ahead mentally.