[Improvement] Enable type declaration for info.refetching as parameter of fetch function of createResource #2015
Unanswered
thanhdatvo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to delay the fetch function trigger from createResource.
This is an example:
I used info.refetching to pass parameter to fetch function.
However, according to the document https://docs.solidjs.com/references/api-reference/basic-reactivity/createResource, the type of info.refetching is unknown.
Is it possible to declare type for info.refetching
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions