>> + 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

Reply via email to