I am facing an issue while trying to retrieve a value from an object. The key I need to use belongs to another object.
However, when working with Typescript, I encounter the following error message.
Is there a way to access the value without having to change the object type?
public data: string | {};