I have the following typescript interface:
UserInfo: {
user: {
options: ReadonlyArray<{
values: ReadonlyArray<{
value: string | null;
}
}
}
I want to access the options how do I get it. I tried like below but it doesn't work for me
type options = ScreenQuery["UserInfo"]["user"]["options"];