Skip to content

Commit

Permalink
Update type
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl committed Apr 6, 2024
1 parent f1cae14 commit 2df9636
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/cache/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ export class ClientCache {
});
}

updateConnection<A, T extends Connection<A>>(
connection: T,
updateConnection<A>(
connection: Connection<A>,
config:
| { prepend: Edge<A>[] }
| { append: Edge<A>[] }
Expand Down
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ export class Client {
return this.request(document, variables, requestOptions);
}

updateConnection<A, T extends Connection<A>>(
connection: T,
updateConnection<A>(
connection: Connection<A>,
config:
| { prepend: Edge<A>[] }
| { append: Edge<A>[] }
Expand Down

0 comments on commit 2df9636

Please sign in to comment.