solid-meta icon indicating copy to clipboard operation
solid-meta copied to clipboard

`tags` attribute is optional in typing but throws runtime error when not provided

Open krymel opened this issue 2 years ago • 2 comments

Hi,

the tags attribute in MetaProvider is defined optional but throws a runtime error when not provided:

Error: tags array should be passed to <MetaProvider /> in node

Thanks and best

krymel avatar Jan 18 '23 19:01 krymel

meet the same problem as well

vthinkxie avatar Apr 07 '23 11:04 vthinkxie

Having different types for server vs client modes of the same components is challenging to say the least. We can try some things with export maps perhaps, but I think the types would need to be done manually as the same source code wouldn't be able to generate different types.

ryansolid avatar Jul 25 '23 23:07 ryansolid