If you know how to fix the issue, make a pull request instead.
@types/xxxx package and had problems.Definitions by: in index.d.ts) so they can respond.If I try to compile my project with @types/stripe 6.30.7 or later I get the following error:
node_modules/@types/stripe/index.d.ts:6995:58 - error TS2304: Cannot find name 'AsyncIterableIterator'.
6995 interface IListPromise<T> extends Promise<IList<T>>, AsyncIterableIterator<T> {
It can be found on line 7376 here: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/stripe/index.d.ts#L7376
my build is broken right now because of this issue... Any updates/workarounds?
For anyone else experiencing this issue, 6.30.6 is their latest working version
In your tsconfig.json in the lib option try adding "lib": ["esnext.asynciterable"]
@arjunyel Looks like that works, one thing for anyone trying to implement this with Firebase Functions you'll need to install @types/node which doesn't come with the project by default.
Im happy to help :D I think this can be closed since its a Typescript setting, not a bug with the types
I think someone from the TypeScript team should take a look at this before closing, I'm not sure what the policy/stance is on using things that requires non-standard libs settings 馃
They've also got the tiers wrong for IPlanCreateOptions, in the docs its

but in their index.d.ts it's

EDIT
I created and merged a PR to fix this
Hey,
Even with the suggestions made here, namely:
esnext.asynciterable to the lib section of tsconfig.json@types/node (version 12.7.0)3.5.3)I cannot get this to work, it fails on the typescript definitions of stripe:
node_modules/@types/stripe/index.d.ts(7687,15): error TS2320: Interface 'IListPromise<T>' cannot simultaneously extend types 'Promise<IList<T>>' and 'AsyncIterableIterator<T>'.
Named property 'return' of types 'Promise<IList<T>>' and 'AsyncIterableIterator<T>' are not identical.
Which seems a bit different from the error the OP was having. Any clues?
@jcristovao - This worked for me:
https://github.com/apollographql/graphql-subscriptions/issues/83#issuecomment-312469236
@jcristovao I had the same error, I resolved it by uninstalling the "@types/bluebird-global" package.
Just want to mention that this fix also works for @types/stripe-v3: 3.1.9
Most helpful comment
@arjunyel Looks like that works, one thing for anyone trying to implement this with Firebase Functions you'll need to install @types/node which doesn't come with the project by default.