We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
care_fe/src/Utils/request/types.ts
Lines 38 to 45 in 69527b8
Expected behavior It should be of type string | number | boolean | null | undefined, which is already declared as QueryParamValue in the same page
export interface QueryOptions<TBody = unknown> { pathParams?: Record<string, string>; queryParams?: QueryParams; body?: TBody; silent?: boolean; signal?: AbortSignal; headers?: HeadersInit; }
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Completed in #9463
Sorry, something went wrong.
useMutation
rithviknishad
Successfully merging a pull request may close this issue.
Describe the bug
care_fe/src/Utils/request/types.ts
Lines 38 to 45 in 69527b8
ideally queryParams type shouldn't be restricted to the values of string
Expected behavior
It should be of type string | number | boolean | null | undefined, which is already declared as QueryParamValue in the same page
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: