Skip to content

Commit 5e77de1

Browse files
authored
Make type compatible with ApolloLink (#4)
1 parent 791018a commit 5e77de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MutationQueueLink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default class MutationQueueLink extends ApolloLink {
8989
this.opQueue.push(entry);
9090
}
9191

92-
public request(operation: Operation, forward: NextLink) {
92+
public request(operation: Operation, forward: NextLink): Observable<FetchResult> | null {
9393
// Enqueue all mutations unless manually skipped.
9494
if (
9595
operation.toKey().includes('"operation":"mutation"') &&

0 commit comments

Comments
 (0)