Merge pull request #12416 from ahocevar/eventtype-generics

Use generics to limit event types in on(), once() and un()
This commit is contained in:
Andreas Hocevar
2021-06-21 09:36:25 +02:00
committed by GitHub
30 changed files with 49 additions and 7 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ import {assign} from '../obj.js';
* options means that `title` is observable, and has get/set accessors.
*
* @param {Options} [opt_options] Options.
* @extends {BaseVectorLayer<import("../source/VectorTile.js").default>}
* @extends BaseVectorLayer<import("../source/VectorTile.js").default,'change:preload'|'change:useInterimTilesOnError'>
* @api
*/
class VectorTileLayer extends BaseVectorLayer {