Skip to content

Commit 6fb3d0a

Browse files
committed
Use proper type in pick
1 parent a15d211 commit 6fb3d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apollo-angular/http/src/http-batch-link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const defaults = {
3232
*/
3333
export function pick<K extends keyof Omit<typeof defaults, 'batchInterval' | 'batchMax'>>(
3434
context: Context,
35-
options: HttpLink.Options,
35+
options: HttpBatchLink.Options,
3636
key: K,
3737
): ReturnType<typeof prioritize<Context[K] | HttpLink.Options[K] | (typeof defaults)[K]>> {
3838
return prioritize(context[key], options[key], defaults[key]);

0 commit comments

Comments
 (0)