Improve layer typings

This commit is contained in:
Simon Seyock
2021-01-26 15:49:39 +01:00
parent 125d0d62a8
commit 419578a96c
9 changed files with 16 additions and 3 deletions

View File

@@ -42,7 +42,8 @@ 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>}
* @template {import("../source/Tile.js").default} TileSourceType
* @extends {Layer<TileSourceType>}
* @api
*/
class BaseTileLayer extends Layer {