-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the TypedUseQueryStateOptions
helper type
#4604
Add the TypedUseQueryStateOptions
helper type
#4604
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit e569971:
|
✅ Deploy Preview for redux-starter-kit-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
f65e229
to
4dd43f3
Compare
can we export a Typed version instead which accepts friendlier arguments, like the other helpers? |
@EskiMojo14 Yeah that sounds like a great idea. |
4dd43f3
to
46f3cc4
Compare
UseQueryStateOptions
typeTypedUseQueryStateOptions
helper type
1bc3b3d
to
c42acfa
Compare
c42acfa
to
8364906
Compare
8364906
to
e569971
Compare
thanks! |
This PR:
TypedUseQueryStateOptions
helper type which Provides a way to define a "pre-typed" version ofUseQueryStateOptions
.UseQueryStateOptions
type with an@internal
JSDoc tag.SubscriptionOptions
type with a@public
JSDoc tag.TypedUseQueryStateOptions
.