Refine start options types
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 3 Mar 2022 17:21:42 +0000 (18:21 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 3 Mar 2022 17:21:42 +0000 (18:21 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/types/Worker.ts

index 4654fdcf6c57b7bf652773d60952ac112a5b6a8b..9638b6ddb90eec10878c3f4dca98b0f85769761c 100644 (file)
@@ -19,8 +19,8 @@ export interface WorkerOptions {
 }
 
 export interface WorkerStartOptions {
-  workerStartDelay: number;
-  elementStartDelay: number;
+  workerStartDelay?: number;
+  elementStartDelay?: number;
 }
 
 export type WorkerData = JsonType;