You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running into an issue when upgrading from v6.0.10 to v6.0.12.
node_modules/bl/node_modules/@types/readable-stream/index.d.ts:355:9 - error TS2416: Property 'pipe' in type 'Duplex' is not assignable to the same property in base type '_Writable'.
Type '<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined; } | undefined) => S' is not assignable to type '<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; } | undefined) => T'.
Types of parameters 'dest' and 'destination' are incompatible.
Type 'T' is not assignable to type '_IWritable'.
Type 'WritableStream' is not assignable to type '_IWritable'.
The types returned by 'end(...)' are incompatible between these types.
Type 'void' is not assignable to type '_IWritable'.
355 pipe<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined }): S;
~~~~
node_modules/mqtt/node_modules/@types/readable-stream/index.d.ts:355:9 - error TS2416: Property 'pipe' in type 'Duplex' is not assignable to the same property in base type '_Writable'.
Type '<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined; } | undefined) => S' is not assignable to type '<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; } | undefined) => T'.
Types of parameters 'dest' and 'destination' are incompatible.
Type 'T' is not assignable to type '_IWritable'.
Type 'WritableStream' is not assignable to type '_IWritable'.
The types returned by 'end(...)' are incompatible between these types.
Type 'void' is not assignable to type '_IWritable'.
355 pipe<S extends _IWritable>(dest: S, pipeOpts?: { end?: boolean | undefined }): S;
~~~~
Do you have an idea what might cause this problem?
We noticed that with v6.0.12 it pulls in a new dependency @types/[email protected] which causes the problems in our case.
Any helps or pointer is appreciated. Thanks!
@kyle-johnson are you able to help out with this one? I don't understand it at all and my instinct is to downgrade the types package to a devdep, but reviewing #133 suggests that's not appropriate.
perhaps it should just be upped to match the readable-stream semver since it's at ^4.0.0 and we're using ^4.2.0 readable-stream so there could be some too-loose reconciliation going on in a complex enough dependency tree.
FYI: the generated (and attached) package-lock.json has varying versions in it due do external dependencies.
Maybe there is a change between v2 and v4 that causes the issue/inconsistency?
We are running into an issue when upgrading from
v6.0.10
tov6.0.12
.Do you have an idea what might cause this problem?
We noticed that with
v6.0.12
it pulls in a new dependency@types/[email protected]
which causes the problems in our case.Any helps or pointer is appreciated. Thanks!
see also eclipse-thingweb/node-wot#1292
The text was updated successfully, but these errors were encountered: