File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/apm/src/integrations Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 33import { Integration , Transaction } from '@sentry/types' ;
44import { logger } from '@sentry/utils' ;
55
6- // tslint:disable: completed-docs
76// Have to manually set types because we are using package-alias
87interface Application {
98 use ( ...args : any ) : any ;
@@ -16,7 +15,6 @@ type NextFunction = (...args: any) => any;
1615interface Response {
1716 once ( name : string , callback : ( ) => void ) : void ;
1817}
19- // tslint:enable: completed-docs
2018
2119/**
2220 * Internal helper for `__sentry_transaction`
@@ -183,7 +181,7 @@ function wrapUseArgs(args: IArguments): unknown[] {
183181 * Patches original app.use to utilize our tracing functionality
184182 */
185183function instrumentMiddlewares ( app : Application ) : Application {
186- // tslint: disable-next-line: no- unbound-method
184+ // eslint- disable-next-line @typescript-eslint/ unbound-method
187185 const originalAppUse = app . use ;
188186 app . use = function ( ) : any {
189187 return originalAppUse . apply ( this , wrapUseArgs ( arguments ) ) ;
You can’t perform that action at this time.
0 commit comments