Skip to content

Commit

Permalink
style: kill the undetected lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed May 11, 2021
1 parent 37f041d commit 329a292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class ExpressInstrumentation extends InstrumentationBase<
['^4.0.0'],
(moduleExports, moduleVersion) => {
diag.debug(`Applying patch for express@${moduleVersion}`);
const routerProto = (moduleExports.Router as unknown) as express.Router;
const routerProto = moduleExports.Router as unknown as express.Router;
// patch express.Router.route
if (isWrapped(routerProto.route)) {
this._unwrap(routerProto, 'route');
Expand Down

0 comments on commit 329a292

Please sign in to comment.