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.