Closed WorldMaker closed 8 months ago
Looks like there are more errors with 5.3.2. I get this error in a downstream project
node_modules/ix/asynciterable/asasynciterable.d.ts:5:18 - error TS2320: Interface 'AsyncIterableTransform<T>' cannot simultaneously extend types 'Transform' and 'AsyncIterableX<T>'.
Named property 'every' of types 'Transform' and 'AsyncIterableX<T>' are not identical.
5 export interface AsyncIterableTransform<T> extends AsyncIterableX<T>, Transform {
...
Could you make a new release so that we get this fix in arrow?
@domoritz yes I can
Great, let me know and I'll update the dependency in arrow to remove the type errors.
IxJS version: 4.5.2
Code to reproduce:
Using
@reactivex/ix-ts
in webpack (4) with fork-ts-checker-webpack-plugin (6) and Typescript (4.7.4).tsconfig.json excerpt:
Expected behavior:
Compiles without errors originating in
node_modules/@reactivex/ix-ts
.Actual behavior:
Additional information:
The two
toNodeStream
errors are wrapped inif (isBrowser)
blocks so it looks like a simple type leakage from a node lib? Maybe just needs anas any
to avoid assuming Node types are available? (Or// @ts-ignore
; I don't know how that combines with// prettier-ignore
, though.)The withabort error seems like a simple type fix, perhaps:
Comparing this operator version with the non-operator version in asynciterablex.ts it looks like the difference is instead a
// @ts-ignore
above the currently erroring line.