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
+5
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 * @inheritDoc
* @returns {HTMLElement} The rendered element.
*/ */
renderFrame(frameState, layerState) { renderFrame(frameState, layerState) {
const context = this.context; const context = this.context;