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 3
3
import { Integration , Transaction } from '@sentry/types' ;
4
4
import { logger } from '@sentry/utils' ;
5
5
6
- // tslint:disable: completed-docs
7
6
// Have to manually set types because we are using package-alias
8
7
interface Application {
9
8
use ( ...args : any ) : any ;
@@ -16,7 +15,6 @@ type NextFunction = (...args: any) => any;
16
15
interface Response {
17
16
once ( name : string , callback : ( ) => void ) : void ;
18
17
}
19
- // tslint:enable: completed-docs
20
18
21
19
/**
22
20
* Internal helper for `__sentry_transaction`
@@ -183,7 +181,7 @@ function wrapUseArgs(args: IArguments): unknown[] {
183
181
* Patches original app.use to utilize our tracing functionality
184
182
*/
185
183
function instrumentMiddlewares ( app : Application ) : Application {
186
- // tslint: disable-next-line: no- unbound-method
184
+ // eslint- disable-next-line @typescript-eslint/ unbound-method
187
185
const originalAppUse = app . use ;
188
186
app . use = function ( ) : any {
189
187
return originalAppUse . apply ( this , wrapUseArgs ( arguments ) ) ;
You can’t perform that action at this time.
0 commit comments