Fix remaining type issues

This commit is contained in:
ahocevar
2018-05-17 12:29:22 -05:00
parent 8271a51f65
commit 64e1139230
5 changed files with 8 additions and 19 deletions

View File

@@ -390,9 +390,9 @@ const PluggableMap = function(options) {
* @param {module:ol/control/Control} control Control.
* @this {module:ol/PluggableMap}
*/
function(control) {
(function(control) {
control.setMap(this);
}.bind(this));
}).bind(this));
listen(this.controls, CollectionEventType.ADD,
/**
@@ -415,9 +415,9 @@ const PluggableMap = function(options) {
* @param {module:ol/interaction/Interaction} interaction Interaction.
* @this {module:ol/PluggableMap}
*/
function(interaction) {
(function(interaction) {
interaction.setMap(this);
}.bind(this));
}).bind(this));
listen(this.interactions, CollectionEventType.ADD,
/**