Fix stylefunction return type

This commit is contained in:
Andreas Hocevar
2020-02-20 11:47:42 +01:00
parent d6eb66f083
commit 6b9791eeed

View File

@@ -16,7 +16,7 @@ import Stroke from './Stroke.js';
* vector layer can be styled. If the function returns `undefined`, the
* feature will not be rendered.
*
* @typedef {function(import("../Feature.js").FeatureLike, number):(Style|Array<Style>)|undefined} StyleFunction
* @typedef {function(import("../Feature.js").FeatureLike, number):(Style|Array<Style>|void)} StyleFunction
*/
/**