From ce296aa1d1d03eb74afa7a691eb29d9a4ee96465 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 7 Nov 2013 19:43:25 +0100 Subject: [PATCH] Allow styles to be null --- src/ol/style.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/style.js b/src/ol/style.js index b3d79651e6..27756df806 100644 --- a/src/ol/style.js +++ b/src/ol/style.js @@ -57,9 +57,9 @@ ol.style.stroke.equals = function(strokeStyle1, strokeStyle2) { /** - * @typedef {{fill: ol.style.Fill, - * image: ol.style.Image, - * stroke: ol.style.Stroke, + * @typedef {{fill: ?ol.style.Fill, + * image: ?ol.style.Image, + * stroke: ?ol.style.Stroke, * zIndex: number}} */ ol.style.Style;