Skip to content

How do I make a generic that takes a TSchema or undefined and if undefined returns TUnknown while still retaining type inference? #424

Unanswered
jessekrubin asked this question in Q&A
Discussion options

You must be logged in to vote

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@jessekrubin
Comment options

@sinclairzx81
Comment options

@jessekrubin
Comment options

@sinclairzx81
Comment options

@jessekrubin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants