From: Jérôme Benoit Date: Thu, 3 Mar 2022 17:21:42 +0000 (+0100) Subject: Refine start options types X-Git-Tag: v1.1.49~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1a2993b500eb47df305ab187adab4c245f699235;p=e-mobility-charging-stations-simulator.git Refine start options types Signed-off-by: Jérôme Benoit --- diff --git a/src/types/Worker.ts b/src/types/Worker.ts index 4654fdcf..9638b6dd 100644 --- a/src/types/Worker.ts +++ b/src/types/Worker.ts @@ -19,8 +19,8 @@ export interface WorkerOptions { } export interface WorkerStartOptions { - workerStartDelay: number; - elementStartDelay: number; + workerStartDelay?: number; + elementStartDelay?: number; } export type WorkerData = JsonType;