Was wondering if it would be possible to use the @type in an array.
My use case would be in the context of utilizing two types like this:
'@type': (['Car', 'Product']
currently working around this by casting to one of the types
'@type': (['Car', 'Product'] as unknown as 'Car')
Would be keen to hear if this would be possible?
Was wondering if it would be possible to use the @type in an array.
My use case would be in the context of utilizing two types like this:
'@type': (['Car', 'Product']currently working around this by casting to one of the types
'@type': (['Car', 'Product'] as unknown as 'Car')Would be keen to hear if this would be possible?