Skip to content

Listable Type #172

Answered by manzt
ilan-gold asked this question in Q&A
May 10, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I can work on exporting hat, but in the meantime you can use the ReturnType helper from TS to create a type alias:

type MaybeListable = Awaited<ReturnType<typeof tryWithConsolidated>>;

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@manzt
Comment options

@ilan-gold
Comment options

Answer selected by ilan-gold
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