We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like there is a bug where ReadableStream is required in the 'dom' lib by AWS. Other services like Heroku use AWS as the backing.
error TS2304: Cannot find name 'ReadableStream'.
In order to fix this the best thing I found when deploying to that enviroment is to add a global type definition that your tsconfig can see.
In node-types.d.ts (or some other file you choose that is seen by typescript
// due to AWS and ReadableStream being in dom and not node bug // this is a work around declare global { type ReadableStream = unknown } export { };
Hopefully there is a better workout in the future.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like there is a bug where ReadableStream is required in the 'dom' lib by AWS. Other services like Heroku use AWS as the backing.
error TS2304: Cannot find name 'ReadableStream'.
In order to fix this the best thing I found when deploying to that enviroment is to add a global type definition that your tsconfig can see.
In node-types.d.ts (or some other file you choose that is seen by typescript
Hopefully there is a better workout in the future.
The text was updated successfully, but these errors were encountered: