Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Satisfy OperationVariables constraint on generic
Building the front with Bun fails with the following error: ``` TS2344: Type 'U' does not satisfy the constraint 'OperationVariables'. 5 | 6 | export function wrapQuery<D, T, U>( > 7 | query: UseQueryReturn<T, U>, | ^ 8 | def: D, 9 | wrapper: (data: DeepRequired<DeepNonNullable<T>>) => D 10 | ) { ``` This is due to an upstream type change in @apollo/client@3.7.6.
- Loading branch information