Export the ShouldBlockFnArgs type from useBlocker #3030
erictompkins
started this conversation in
Ideas
Replies: 1 comment
-
can you create a PR for this? should be exportable |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The merged #1790 pull request is great and has helped us out. The
args
parameter on theShouldBlockFn
function was exactly what we needed.Can you also export the
ShouldBlockFnArgs
type for the functionarg
parameter so that we can use it if we set up a function call?For example, we're doing something like this:
We have this function:
We'd like to do this:
but can't because
ShouldBlockFnArgs
is not exported.Is it possible to export that type?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions