From 0e34741d6cec19e09298aa8c1456f16714341a37 Mon Sep 17 00:00:00 2001 From: DudaGod Date: Tue, 3 Dec 2024 01:21:16 +0300 Subject: [PATCH] fix: correctly specify "system" field for "ConfigInput" type --- src/config/types.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/config/types.ts b/src/config/types.ts index 56c9962f8..06437233c 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -260,9 +260,13 @@ export interface SetsConfigParsed { browsers: Array; } +type PartialCommonConfig = Partial> & { + system?: Partial; +}; + // Only browsers desiredCapabilities are required in input config -export type ConfigInput = Partial & { - browsers: Record & { desiredCapabilities: WebdriverIO.Capabilities }>; +export type ConfigInput = Partial & { + browsers: Record; plugins?: Record; sets?: Record; prepareEnvironment?: () => void | null;