graphql-redis-subscriptions
graphql-redis-subscriptions copied to clipboard
fix: asyncIterator typescript return type
I updated asyncIterator's type to include Iterable so that it can be used with for...of. Unfortunately iterall's $$asyncIterator doesn't play nice with typescript, so I had to add some ts-ignores.
@tjmehta See https://github.com/apollographql/graphql-subscriptions/pull/232 I think we should push for removing iterall and using native types.
agreed
#549 I've done this, hope it will be merged...
Fixed with #549 I believe? Thanks @tjmehta and let me know if I'm wrong