From 26c7d702189625535096eb25d2333eec40a75a04 Mon Sep 17 00:00:00 2001 From: Tim Deubler Date: Mon, 6 Nov 2023 17:36:56 +0100 Subject: [PATCH] type fix Signed-off-by: Tim Deubler --- packages/core/src/styles/GenericStyle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/styles/GenericStyle.ts b/packages/core/src/styles/GenericStyle.ts index d8a57627e..9a8ec3b5a 100644 --- a/packages/core/src/styles/GenericStyle.ts +++ b/packages/core/src/styles/GenericStyle.ts @@ -174,7 +174,7 @@ export interface Style { * then the list of values is repeated to yield an even number of values. Thus, 5,3,2 is equivalent to 5,3,2,5,3,2. * This attribute is valid for Line styles only. */ - strokeDasharray?: number[] | StyleValueFunction | StyleZoomRange | 'none'; + strokeDasharray?: (number|string)[] | StyleValueFunction<(number|string)[]> | StyleZoomRange<(number|string)[]> | 'none'; /** * Defines the opacity of the style.