Remove unnecessary 'function' in jsdoc blocks
This commit is contained in:
@@ -41,7 +41,6 @@ class Event {
|
||||
|
||||
/**
|
||||
* Stop event propagation.
|
||||
* @function
|
||||
* @api
|
||||
*/
|
||||
preventDefault() {
|
||||
@@ -50,7 +49,6 @@ class Event {
|
||||
|
||||
/**
|
||||
* Stop event propagation.
|
||||
* @function
|
||||
* @api
|
||||
*/
|
||||
stopPropagation() {
|
||||
|
||||
@@ -76,7 +76,6 @@ class Target extends Disposable {
|
||||
* import("./Event.js").default|string} event Event object.
|
||||
* @return {boolean|undefined} `false` if anyone called preventDefault on the
|
||||
* event object or if any of the listeners returned false.
|
||||
* @function
|
||||
* @api
|
||||
*/
|
||||
dispatchEvent(event) {
|
||||
|
||||
@@ -67,7 +67,6 @@ export const focus = function(event) {
|
||||
*
|
||||
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
|
||||
* @return {boolean} True.
|
||||
* @function
|
||||
* @api
|
||||
*/
|
||||
export const always = TRUE;
|
||||
@@ -106,7 +105,6 @@ export const mouseActionButton = function(mapBrowserEvent) {
|
||||
*
|
||||
* @param {import("../MapBrowserEvent.js").default} mapBrowserEvent Map browser event.
|
||||
* @return {boolean} False.
|
||||
* @function
|
||||
* @api
|
||||
*/
|
||||
export const never = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user