Skip to content

Infer type from loader to use in components/hooks etc #9972

Answered by sergiodxa
JasonColeyNZ asked this question in Q&A
Discussion options

You must be logged in to vote

You can use SerializeFrom<typeof loader>

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@JasonColeyNZ
Comment options

@GabenGar
Comment options

@sergiodxa
Comment options

Answer selected by JasonColeyNZ
@JasonColeyNZ
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
3 participants