Skip to content

Conversation

joshgummersall
Copy link

I just noticed, using the latest version of the package, the asyncIterableIterator did not infer types based on those passed to new PubSub so I figured I'd take care of plumbing those through. I don't believe this PR makes any functional changes, it's purely Typescript typings.

Ex:
Screenshot 2025-09-10 at 7 28 58 PM

Now it is typed as an iterator producing number | string;

Thanks for a great library!

@apollo-cla
Copy link

@joshgummersall: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants