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(
118118 } else if ( descriptor . set != null ) {
119119 kind = 'set' ;
120120 }
121- const f : Function = descriptor [ kind ] ; // eslint-disable-line @typescript-eslint/ban-types
121+ const f : Function = descriptor [ kind ] ;
122122 if ( typeof f !== 'function' ) {
123123 throw new TypeError ( `${ key } is not a function` ) ;
124124 }
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ function ready(
238238 } else if ( descriptor . set != null ) {
239239 kind = 'set' ;
240240 }
241- const f : Function = descriptor [ kind ] ; // eslint-disable-line @typescript-eslint/ban-types
241+ const f : Function = descriptor [ kind ] ;
242242 if ( typeof f !== 'function' ) {
243243 throw new TypeError ( `${ key } is not a function` ) ;
244244 }
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ function ready(
159159 } else if ( descriptor . set != null ) {
160160 kind = 'set' ;
161161 }
162- const f : Function = descriptor [ kind ] ; // eslint-disable-line @typescript-eslint/ban-types
162+ const f : Function = descriptor [ kind ] ;
163163 if ( typeof f !== 'function' ) {
164164 throw new TypeError ( `${ key } is not a function` ) ;
165165 }
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ function promise<T = void>(): PromiseDeconstructed<T> {
4242 * This function rewrites the stack trace according to where the wrapped
4343 * function is called, giving a more useful stack trace
4444 */
45- // eslint-disable-next-line @typescript-eslint/ban-types
4645function resetStackTrace ( error : Error , decorated ?: Function ) : void {
4746 if ( error . stack != null ) {
4847 const stackTitle = error . stack . slice ( 0 , error . stack . indexOf ( '\n' ) + 1 ) ;
You can’t perform that action at this time.
0 commit comments