From 2da9b76a31978c3216c35cac8077e8c09ff5f07f Mon Sep 17 00:00:00 2001 From: David Mehren Date: Thu, 29 Apr 2021 15:26:15 +0200 Subject: [PATCH] Config Utils: Fix type of toArrayConfig configValue is checked for a nullish value, the type should reflect that. Signed-off-by: David Mehren --- src/config/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/utils.ts b/src/config/utils.ts index e02ca8ded..cee786c09 100644 --- a/src/config/utils.ts +++ b/src/config/utils.ts @@ -6,7 +6,7 @@ import { Loglevel } from './loglevel.enum'; -export function toArrayConfig(configValue: string, separator = ','): string[] { +export function toArrayConfig(configValue?: string, separator = ','): string[] { if (!configValue) { return []; }