Skip to content

Anyway to get a Union type to work in a operation? #4460

Discussion options

You must be logged in to vote

You just want to add @body on the property to say the body is the content of that prop, then it can be anything
Playground

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Devon-White
Comment options

Comment options

You must be logged in to vote
1 reply
@Devon-White
Comment options

Answer selected by Devon-White
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants