ignore typescript ≥ 4.1 regression
Bug-Debian: https://bugs.debian.org/975794 Forwarded: no Last-Update: 2021-10-27 Gbp-Pq: Name fix-typescript.patch
This commit is contained in:
parent
bf2eb4e71d
commit
e4f463a723
|
@ -24,6 +24,7 @@ export default function promisify(fn: LegacyCallback): AgentCallbackPromise {
|
|||
if (err) {
|
||||
reject(err);
|
||||
} else {
|
||||
// @ts-ignore
|
||||
resolve(rtn);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -250,6 +250,7 @@ describe('Agent (TypeScript)', () => {
|
|||
await req({ agent, ...info });
|
||||
} catch (err) {
|
||||
gotError = true;
|
||||
// @ts-ignore
|
||||
assert.equal(err.message, 'bad');
|
||||
}
|
||||
|
||||
|
@ -277,6 +278,7 @@ describe('Agent (TypeScript)', () => {
|
|||
await req({ agent, ...info });
|
||||
} catch (err) {
|
||||
gotError = true;
|
||||
// @ts-ignore
|
||||
assert.equal(err.message, 'bad');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue