-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript 3.5.x breaking @aws-sdk/types #2022
Comments
One workaround is to unblock is to enable |
This happens as the |
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue. |
Greetings! We’re closing this issue because it has been open a long time and hasn’t been updated in a while and may not be getting the attention it deserves. We encourage you to check if this is still an issue in the latest release and if you find that this is still a problem, please feel free to comment or open a new issue. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Describe the bug
@aws-sdk/types
usesAsyncGenerator
aws-sdk-js-v3/packages/types/src/pagination.ts
Lines 3 to 6 in 80a8094
The customer code throws
"Cannot find name 'AsyncGenerator'"
when trying to compile with TS <3.6.xYour environment
SDK version number
@aws-sdk/client-s3@3.4.1
Is the issue in the browser/Node.js/ReactNative?
N/A
Details of the browser/Node.js/ReactNative version
Not relevant but, Node.js
v14.15.4
Steps to reproduce
package.json
tsconfig.json
index.ts
Observed behavior
Expected behavior
No error is thrown when compiling client code with TypeScript version 3.5.x
Additional context
Follow-up to #1919
The text was updated successfully, but these errors were encountered: