diff --git a/externs/example.js b/externs/example.js index 03a674c048..3731143941 100644 --- a/externs/example.js +++ b/externs/example.js @@ -1,8 +1,7 @@ /** * @type {Object} */ -var common; - +let common; /** @@ -13,12 +12,12 @@ common.getRendererFromQueryString = function(opt_default) {}; /** - * @param {function(new:ol.style.Style, olx.style.StyleOptions=)} Style Style constructor. - * @param {function(new:ol.style.Fill, olx.style.FillOptions=)} Fill Fill constructor. - * @param {function(new:ol.style.Stroke, olx.style.StrokeOptions=)} Stroke Stroke constructor. - * @param {function(new:ol.style.Icon, olx.style.IconOptions=)} Icon Icon constructor. - * @param {function(new:ol.style.Text, olx.style.TextOptions=)} Text Text constructor. + * @param {function(new:ol.style.Style, module:ol/style/Style~Options=)} Style Style constructor. + * @param {function(new:ol.style.Fill, module:ol/style/Fill~Options=)} Fill Fill constructor. + * @param {function(new:ol.style.Stroke, module:ol/style/Stroke~Options=)} Stroke Stroke constructor. + * @param {function(new:ol.style.Icon, module:ol/style/Icon~Options=)} Icon Icon constructor. + * @param {function(new:ol.style.Text, module:ol/style/Text~Options=)} Text Text constructor. * @return {function((module:ol/Feature~Feature|ol.render.Feature), number): * Array.} */ -var createMapboxStreetsV6Style = function(Style, Fill, Stroke, Icon, Text) {}; +const createMapboxStreetsV6Style = function(Style, Fill, Stroke, Icon, Text) {};