react-schemaorg icon indicating copy to clipboard operation
react-schemaorg copied to clipboard

Expose more type overloads

Open jackcohen5 opened this issue 1 year ago • 1 comments

Exposes some more type overloads to avoid the need for explicit checks of properties in Graph or WithContext<Thing> when trying to use type unions.

This overloading was added to jsonLdScriptProps but not helmetJsonLdProp or the JsonLd component.

jackcohen5 avatar Feb 15 '24 16:02 jackcohen5

Hey @Eyas, if you get a chance I've added some more function overloads here.

jackcohen5 avatar Feb 16 '24 16:02 jackcohen5