We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
boolean
invalidate
1 parent 4abb783 commit 45c4723Copy full SHA for 45c4723
types/index.d.ts
@@ -89,7 +89,7 @@ declare module 'jsonapi-react' {
89
export function useMutation<TData = StringMap | StringMap[]>(
90
queryArg: QueryArg,
91
config?: {
92
- invalidate?: string | string[]
+ invalidate?: boolean | string | string[]
93
method?: string
94
client?: ApiClient
95
}
0 commit comments