Skip to content

Commit a9ed93c

Browse files
committed
fix: revert type WithRequired
1 parent 4de190a commit a9ed93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/query-core/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export interface QueryObserverOptions<
430430
}
431431

432432
export type WithRequired<TTarget, TKey extends keyof TTarget> = TTarget & {
433-
[K in TKey]-?: TTarget[K]
433+
[_ in TKey]: {}
434434
}
435435

436436
export type DefaultedQueryObserverOptions<

0 commit comments

Comments
 (0)