From 3c32c8cc67dc5230248f10f6028046aebd2fa038 Mon Sep 17 00:00:00 2001 From: Mihai Date: Sun, 7 Jan 2024 07:40:16 +0000 Subject: [PATCH] Addressed build failures by initializing an array properly as '[]' instead of 'undefined,' (!185) Co-authored-by: Mihai Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/185 Co-authored-by: Mihai Co-committed-by: Mihai --- project/src/services/SeasonalEventService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index 3cd63bb2..62fe4c7f 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -31,7 +31,7 @@ export class SeasonalEventService protected christmasEventActive: boolean = undefined; /** All events active at this point in time */ - protected currentlyActiveEvents: SeasonalEventType[] = undefined; + protected currentlyActiveEvents: SeasonalEventType[] = []; constructor( @inject("WinstonLogger") protected logger: ILogger,