Work around a TypeScript issue with inheritdoc

This commit is contained in:
Tim Schaub
2018-11-16 10:34:26 +01:00
parent 5ad73f8bbd
commit cc9b7b6259

View File

@@ -119,7 +119,12 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer {
}
/**
* TODO: File a TypeScript issue about inheritDoc not being followed
* all the way. Without this explicit return type, the VectorTileLayer
* renderFrame function does not pass.
*
* @inheritDoc
* @returns {HTMLElement} The rendered element.
*/
renderFrame(frameState, layerState) {
const context = this.context;