Ignore 'this' type in function typedef

This commit is contained in:
Frederic Junod
2018-05-09 13:49:59 +02:00
parent 628a49f478
commit 854c95f37a
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ import RenderBox from '../render/Box.js';
* A function that takes a {@link module:ol/MapBrowserEvent} and two
* {@link module:ol~Pixel}s and returns a `{boolean}`. If the condition is met,
* true should be returned.
* @typedef {function(module:ol/MapBrowserEvent, module:ol~Pixel, module:ol~Pixel):boolean} EndCondition
* @typedef {function(this: ?, module:ol/MapBrowserEvent, module:ol~Pixel, module:ol~Pixel):boolean} EndCondition
*/