File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,19 +93,19 @@ export class NestApplicationContext implements INestApplicationContext {
9393 ( key : string ) => ShutdownSignal [ key ] ,
9494 ) ;
9595 } else {
96- // Given signals array should be unique because
96+ // given signals array should be unique because
9797 // process shouldn't listen to the same signal more than once.
9898 signals = Array . from ( new Set ( signals ) ) ;
9999 }
100100
101101 signals = signals
102- . map ( ( signal : ShutdownSignal | string ) : string =>
102+ . map ( ( signal : string ) =>
103103 signal
104104 . toString ( )
105105 . toUpperCase ( )
106106 . trim ( ) ,
107107 )
108- // Filter out the signals which is already listening to
108+ // filter out the signals which is already listening to
109109 . filter (
110110 ( signal : string ) => ! this . activeShutdownSignals . includes ( signal ) ,
111111 ) as string [ ] ;
You can’t perform that action at this time.
0 commit comments