Skip to content

Commit b397ca4

Browse files
committed
fix: formatting
1 parent be28862 commit b397ca4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/query-core/src/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ export interface QueryObserverOptions<
242242
/**
243243
* If set, this value will be used as the placeholder data for this particular query observer while the query is still in the `loading` data and no initialData has been provided.
244244
*/
245-
placeholderData?: NonFunctionGuard<TQueryData> | PlaceholderDataFunction<NonFunctionGuard<TQueryData>>
245+
placeholderData?:
246+
| NonFunctionGuard<TQueryData>
247+
| PlaceholderDataFunction<NonFunctionGuard<TQueryData>>
246248

247249
_optimisticResults?: 'optimistic' | 'isRestoring'
248250
}

0 commit comments

Comments
 (0)