graphql-subscriptions
graphql-subscriptions copied to clipboard
pubSub.asyncIterator() return type
Shouldn't the return type be AsyncIterableIterator (TS lib file) instead of AsyncIterator? I see it has the Symbol.asyncIterator property here
Sounds correct - would you like to make a PR?
Will do 👍
Hmm if we use just AsyncIterator<T> how can we check the types of return object? Should we use AsyncIterator<T, TReturn, TNext> instead?
Any news on this? How I should I have to type below case?

Any news?