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.
1 parent 85ee7bb commit 0d22f9aCopy full SHA for 0d22f9a
packages/query-core/src/queryObserver.ts
@@ -505,7 +505,7 @@ export class QueryObserver<
505
} else {
506
placeholderData =
507
typeof options.placeholderData === 'function'
508
- ? (options.placeholderData as PlaceholderDataFunction<TQueryData>)(
+ ? (options.placeholderData as unknown as PlaceholderDataFunction<TQueryData>)(
509
prevQueryResult?.data as TQueryData | undefined,
510
)
511
: options.placeholderData
0 commit comments