Use type template for the source type of layers

This commit is contained in:
Frederic Junod
2019-01-28 15:33:29 +01:00
parent 53fc082fc2
commit 5318d52036
6 changed files with 12 additions and 40 deletions

View File

@@ -39,6 +39,7 @@ import {assign} from '../obj.js';
* property on the layer object; for example, setting `title: 'My Title'` in the
* options means that `title` is observable, and has get/set accessors.
*
* @extends {Layer<import("../source/Tile.js").default>}
* @api
*/
class BaseTileLayer extends Layer {
@@ -102,13 +103,4 @@ class BaseTileLayer extends Layer {
}
/**
* Return the associated {@link module:ol/source/Tile tilesource} of the layer.
* @function
* @return {import("../source/Tile.js").default} Source.
* @api
*/
BaseTileLayer.prototype.getSource;
export default BaseTileLayer;