Fix wrong array generic type

This commit is contained in:
Sergi Ávila
2022-02-14 12:46:18 +01:00
parent 50c144cea2
commit 087090c07d

View File

@@ -29,7 +29,7 @@ export const SymbolType = {
/**
* @typedef {Object} LiteralSymbolStyle
* @property {ExpressionValue|Array<ExpressionValue, ExpressionValue>} size Size, mandatory.
* @property {ExpressionValue|Array<ExpressionValue>} size Size, mandatory.
* @property {SymbolType} symbolType Symbol type to use, either a regular shape or an image.
* @property {string} [src] Path to the image to be used for the symbol. Only required with `symbolType: 'image'`.
* @property {string} [crossOrigin='anonymous'] The `crossOrigin` attribute for loading `src`.