Open retroriff opened 2 years ago
Yep, all attributes (other than "@context"
, "@type"
, and "@id"
) can be either their direct type or an array as-is. Let me know if you're having trouble using it as such!
@Eyas I'm having a some trouble using string[]
for sameAs
Type 'string[]' is not assignable to type 'string | Role<string, "sameAs">'.ts(2322)
Any insight? 🙏🏼
I see that
sameAs
is a string attribute and I was wondering if it also should be a string[] so it can accept a list of social networks, as explained here.