Skip to content
Snippets Groups Projects
Commit 1ac90563 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

JSdoc returns PromiseLike

parent 00adfd89
No related branches found
No related tags found
1 merge request!295Resolve "alternative to google maps api way of visualizing maps"
...@@ -283,7 +283,7 @@ AbstractMarker.prototype._init = function () { ...@@ -283,7 +283,7 @@ AbstractMarker.prototype._init = function () {
/** /**
* *
* @returns {Promise} * @returns {Promise|PromiseLike}
*/ */
AbstractMarker.prototype.onClickHandler = function () { AbstractMarker.prototype.onClickHandler = function () {
return this.callListeners("onClick"); return this.callListeners("onClick");
......
...@@ -99,7 +99,7 @@ AbstractSurfaceElement.prototype.hide = function () { ...@@ -99,7 +99,7 @@ AbstractSurfaceElement.prototype.hide = function () {
/** /**
* *
* @returns {Promise} * @returns {Promise|PromiseLike}
*/ */
AbstractSurfaceElement.prototype.onClickHandler = function () { AbstractSurfaceElement.prototype.onClickHandler = function () {
return this.callListeners("onClick"); return this.callListeners("onClick");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment