Weird typescript error

Hi all, im getting a typescript error i dont understand why im getting.

As you can see selectedQuestion is assigned the type that you can see, ie a object called SeenQuestions along with some type extensions. The type SeenQuestion absolutley has a property called .questionType - so why am i getting this error?

Help greatly appreciated
Screenshot_2023-07-07_at_15.31.07.png
Screenshot_2023-07-07_at_15.31.35.png
Was this page helpful?