Skip to content
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

TypeError: Cannot find name 'ReadableStream' #7285

Open
dilame opened this issue Jun 12, 2023 · 0 comments
Open

TypeError: Cannot find name 'ReadableStream' #7285

dilame opened this issue Jun 12, 2023 · 0 comments

Comments

@dilame
Copy link

dilame commented Jun 12, 2023

Describe the bug

After upgrading to rxjs@8.0.0-alpha.10 a get compilation error

node_modules/rxjs/dist/types/internal/types.d.ts:261:42 - error TS2552: Cannot find name 'ReadableStream'. Did you mean 'ReadableStreamLike'?

261 export type ReadableStreamLike<T> = Pick<ReadableStream<T>, 'getReader'>;

I can get rid of this error by adding DOM to my tsconfig.compilerOptions.libs, but i'm in NodeJS environment, so i would prefer not to add it.

Expected behavior

No compilation error

Reproduction code

No response

Reproduction URL

No response

Version

8.0.0-alpha.10

Environment

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant