Skip to content

Typing large action function extractions #555

Answered by posva
bbugh asked this question in Help and Questions
Discussion options

You must be logged in to vote

You should be able to do:

function longFunction(store: ReturnType<typeof useStore>, info: Something) {

}

Note you can also split into smaller actions.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bbugh
Comment options

@philippedasilva-orizone
Comment options

@posva
Comment options

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