Merge pull request #8172 from fredj/ignore_this
Ignore 'this' type in function typedef
This commit is contained in:
@@ -11,7 +11,7 @@ import {WEBKIT, MAC} from '../has.js';
|
|||||||
* A function that takes an {@link module:ol/MapBrowserEvent} and returns a
|
* A function that takes an {@link module:ol/MapBrowserEvent} and returns a
|
||||||
* `{boolean}`. If the condition is met, true should be returned.
|
* `{boolean}`. If the condition is met, true should be returned.
|
||||||
*
|
*
|
||||||
* @typedef {function(module:ol/MapBrowserEvent): boolean} Condition
|
* @typedef {function(this: ?, module:ol/MapBrowserEvent): boolean} Condition
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ import RenderBox from '../render/Box.js';
|
|||||||
* A function that takes a {@link module:ol/MapBrowserEvent} and two
|
* 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,
|
* {@link module:ol~Pixel}s and returns a `{boolean}`. If the condition is met,
|
||||||
* true should be returned.
|
* 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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user