TypeError: Cannot find name 'ReadableStream'
dilame opened this issue · 0 comments
dilame commented
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