[Pkg-javascript-devel] Bug#975819: FTBFS: Type 'undefined' is not assignable to type 'Duplex | Pick<Agent, "addRequest"> | Agent | PromiseLike<AgentCallbackReturn>'.
Xavier
yadd at debian.org
Wed Nov 25 21:33:28 GMT 2020
>> + tsc
>> src/promisify.ts(27,15): error TS2345: Argument of type 'Duplex | Pick<Agent, "addRequest"> | Agent | undefined' is not assignable to parameter of type 'Duplex | Pick<Agent, "addRequest"> | Agent | PromiseLike<AgentCallbackReturn>'.
>> Type 'undefined' is not assignable to type 'Duplex | Pick<Agent, "addRequest"> | Agent | PromiseLike<AgentCallbackReturn>'.
>> dh_auto_build: error: cd ./agent-base && sh -ex ../debian/nodejs/agent-base/build returned exit code 2
>> make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
Same error than with node-rxjs: typescript update breaks many builds.
Ref:
https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/#breaking-changes
More information about the Pkg-javascript-devel
mailing list