Hi as title shows,
I am trying to target the nav items.link.reference.value.slug but when i put slug in it says its not a valid type
so i looked at the payload automatic generated types and its showing this:
value: string | Page;
if i remove string | it works as expected
but obviously when i add new custom blocks etc and run generate types itll be overridden, am i being silly and am i missing something?