Skip to content

Expose more type overloads#54

Open
jackcohen5 wants to merge 1 commit intogoogle:mainfrom
jackcohen5:function_overloading
Open

Expose more type overloads#54
jackcohen5 wants to merge 1 commit intogoogle:mainfrom
jackcohen5:function_overloading

Conversation

@jackcohen5
Copy link

@jackcohen5 jackcohen5 commented Feb 15, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant