Skip to content

Commit 175fbf1

Browse files
committed
Update UseLazyQueryTrigger signature
1 parent e6acf40 commit 175fbf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/api/created-api/hooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ type UseLazyQueryOptions = {
491491
}
492492

493493
type UseLazyQueryTrigger<T> = (arg: any) => Promise<
494-
{ data: T } | { error: BaseQueryError | SerializedError }
494+
QueryResultSelectorResult
495495
> & {
496496
arg: unknown // Whatever argument was provided to the query
497497
requestId: string // A string generated by RTK Query

0 commit comments

Comments
 (0)