New typedef syntax for Pixel

This commit is contained in:
Andreas Hocevar
2018-03-07 13:52:08 +01:00
parent 2ae049dfbc
commit b6781ac186

View File

@@ -27,6 +27,13 @@
* @api
*/
/**
* An array with two elements, representing a pixel. The first element is the
* x-coordinate, the second the y-coordinate of the pixel.
* @typedef {Array.<number>} Pixel
* @api
*/
/**
* @typedef {function(module:ol/PluggableMap~PluggableMap, ?olx.FrameState): boolean} PostRenderFunction
*/