Skip to content

Commit

Permalink
style: remove unused @ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoaldamav committed Jan 17, 2024
1 parent eff7e9a commit 3254db9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions network/proxy-agent/proxy-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,10 @@ class PatchedHttpsProxyAgent extends HttpsProxyAgent {
constructor (opts: any) {
super(opts)

// @ts-expect-error
this[extraOpts] = opts
}

callback (req: any, opts: any) {
// @ts-expect-error
return super.callback(req, { ...this[extraOpts], ...opts })
}
}

0 comments on commit 3254db9

Please sign in to comment.