Merge pull request #7991 from ahocevar/fix-type-paths

Fix some type paths
This commit is contained in:
Andreas Hocevar
2018-03-17 16:44:13 +01:00
committed by GitHub
7 changed files with 13 additions and 13 deletions

View File

@@ -273,7 +273,7 @@ const UTFGrid = function(options) {
/**
* @private
* @type {!module:ol/tileurlfunction~Type}
* @type {!module:ol/Tile~UrlFunction}
*/
this.tileUrlFunction_ = nullTileUrlFunction;

View File

@@ -41,7 +41,7 @@ const UrlTile = function(options) {
/**
* @protected
* @type {module:ol/tileurlfunction~Type}
* @type {module:ol/Tile~UrlFunction}
*/
this.tileUrlFunction = this.fixedTileUrlFunction ?
this.fixedTileUrlFunction.bind(this) : nullTileUrlFunction;
@@ -73,7 +73,7 @@ inherits(UrlTile, TileSource);
/**
* @type {module:ol/tileurlfunction~Type|undefined}
* @type {module:ol/Tile~UrlFunction|undefined}
* @protected
*/
UrlTile.prototype.fixedTileUrlFunction;
@@ -90,7 +90,7 @@ UrlTile.prototype.getTileLoadFunction = function() {
/**
* Return the tile URL function of the source.
* @return {module:ol/tileurlfunction~Type} TileUrlFunction
* @return {module:ol/Tile~UrlFunction} TileUrlFunction
* @api
*/
UrlTile.prototype.getTileUrlFunction = function() {
@@ -149,7 +149,7 @@ UrlTile.prototype.setTileLoadFunction = function(tileLoadFunction) {
/**
* Set the tile URL function of the source.
* @param {module:ol/tileurlfunction~Type} tileUrlFunction Tile URL function.
* @param {module:ol/Tile~UrlFunction} tileUrlFunction Tile URL function.
* @param {string=} opt_key Optional new tile key for the source.
* @api
*/

View File

@@ -104,7 +104,7 @@ const WMTS = function(options) {
/**
* @param {string} template Template.
* @return {module:ol/tileurlfunction~Type} Tile URL function.
* @return {module:ol/Tile~UrlFunction} Tile URL function.
* @private
*/
this.createFromWMTSTemplate_ = function(template) {

View File

@@ -161,7 +161,7 @@ const Zoomify = function(opt_options) {
/**
* @param {string} template Template.
* @return {module:ol/tileurlfunction~Type} Tile URL function.
* @return {module:ol/Tile~UrlFunction} Tile URL function.
*/
function createFromTemplate(template) {