Update type annotations in examples

This commit is contained in:
Tim Schaub
2018-05-07 15:41:33 -06:00
parent ae55814875
commit cfe88663aa
9 changed files with 13 additions and 13 deletions

4
examples/d3.js vendored
View File

@@ -31,10 +31,10 @@ d3.json('data/topojson/us.json', function(error, us) {
/**
* This function uses d3 to render the topojson features to a canvas.
* @param {ol.Extent} extent Extent.
* @param {module:ol/extent~Extent} extent Extent.
* @param {number} resolution Resolution.
* @param {number} pixelRatio Pixel ratio.
* @param {ol.Size} size Size.
* @param {module:ol/size~Size} size Size.
* @param {module:ol/proj/Projection~Projection} projection Projection.
* @return {HTMLCanvasElement} A canvas element.
*/