Revert "Merge pull request #12416 from ahocevar/eventtype-generics"

This reverts commit b6c143deb2, reversing
changes made to 7777821df5.
This commit is contained in:
Simon Seyock
2021-06-21 17:20:04 +02:00
committed by Andreas Hocevar
parent a2f441715b
commit c8f43050c4
30 changed files with 7 additions and 49 deletions

View File

@@ -76,7 +76,6 @@ export class ImageSourceEvent extends Event {
* Base class for sources providing a single image.
* @abstract
* @fires module:ol/source/Image.ImageSourceEvent
* @extends Source<'imageloadend'|'imageloaderror'|'imageloadstart'>
* @api
*/
class ImageSource extends Source {

View File

@@ -40,8 +40,6 @@ import {get as getProjection} from '../proj.js';
* Base class for {@link module:ol/layer/Layer~Layer} sources.
*
* A generic `change` event is triggered when the state of the source changes.
* @template {string} EventTypes
* @extends BaseObject<EventTypes>
* @abstract
* @api
*/

View File

@@ -36,8 +36,6 @@ import {scale as scaleSize, toSize} from '../size.js';
* Abstract base class; normally only used for creating subclasses and not
* instantiated in apps.
* Base class for sources providing images divided into a tile grid.
* @template {string} EventTypes
* @extends Source<EventTypes>
* @abstract
* @api
*/

View File

@@ -33,7 +33,6 @@ import {getUid} from '../util.js';
* Base class for sources providing tiles divided into a tile grid over http.
*
* @fires import("./Tile.js").TileSourceEvent
* @extends TileSource<'tileloadend'|'tileloaderror'|'tileloadstart'>
*/
class UrlTile extends TileSource {
/**