File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ function ready(
118
118
} else if ( descriptor . set != null ) {
119
119
kind = 'set' ;
120
120
}
121
- const f : Function = descriptor [ kind ] ; // eslint-disable-line @typescript-eslint/ban-types
121
+ const f : Function = descriptor [ kind ] ;
122
122
if ( typeof f !== 'function' ) {
123
123
throw new TypeError ( `${ key } is not a function` ) ;
124
124
}
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ function ready(
238
238
} else if ( descriptor . set != null ) {
239
239
kind = 'set' ;
240
240
}
241
- const f : Function = descriptor [ kind ] ; // eslint-disable-line @typescript-eslint/ban-types
241
+ const f : Function = descriptor [ kind ] ;
242
242
if ( typeof f !== 'function' ) {
243
243
throw new TypeError ( `${ key } is not a function` ) ;
244
244
}
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ function ready(
159
159
} else if ( descriptor . set != null ) {
160
160
kind = 'set' ;
161
161
}
162
- const f : Function = descriptor [ kind ] ; // eslint-disable-line @typescript-eslint/ban-types
162
+ const f : Function = descriptor [ kind ] ;
163
163
if ( typeof f !== 'function' ) {
164
164
throw new TypeError ( `${ key } is not a function` ) ;
165
165
}
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ function promise<T = void>(): PromiseDeconstructed<T> {
42
42
* This function rewrites the stack trace according to where the wrapped
43
43
* function is called, giving a more useful stack trace
44
44
*/
45
- // eslint-disable-next-line @typescript-eslint/ban-types
46
45
function resetStackTrace ( error : Error , decorated ?: Function ) : void {
47
46
if ( error . stack != null ) {
48
47
const stackTitle = error . stack . slice ( 0 , error . stack . indexOf ( '\n' ) + 1 ) ;
You can’t perform that action at this time.
0 commit comments