Skip to content

Commit 98cea88

Browse files
refactor(core): remove useless typings app context
1 parent 07da047 commit 98cea88

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/core/nest-application-context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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[];

0 commit comments

Comments
 (0)