mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
chore: bump all dependencies (#5891)
This commit is contained in:
@@ -23,11 +23,10 @@ export type _QueryVariables<Q extends GraphQLQuery> =
|
||||
? Extract<Mutations, { name: Q['id'] }>['variables']
|
||||
: undefined;
|
||||
|
||||
export type QueryVariables<Q extends GraphQLQuery> = _QueryVariables<Q> extends
|
||||
| never
|
||||
| Record<string, never>
|
||||
? never
|
||||
: _QueryVariables<Q>;
|
||||
export type QueryVariables<Q extends GraphQLQuery> =
|
||||
_QueryVariables<Q> extends never | Record<string, never>
|
||||
? never
|
||||
: _QueryVariables<Q>;
|
||||
|
||||
export type QueryResponse<Q extends GraphQLQuery> = Extract<
|
||||
Queries | Mutations,
|
||||
|
||||
Reference in New Issue
Block a user