Added generic source option to layer option types

This commit is contained in:
Simon Seyock
2021-02-26 11:24:15 +01:00
committed by Andreas Hocevar
parent 8520a18eae
commit a211666fd8
10 changed files with 24 additions and 16 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import CanvasImageLayerRenderer from '../renderer/canvas/ImageLayer.js';
*/
class ImageLayer extends BaseImageLayer {
/**
* @param {import("./BaseImage.js").Options} [opt_options] Layer options.
* @param {import("./BaseImage.js").Options<ImageSourceType>} [opt_options] Layer options.
*/
constructor(opt_options) {
super(opt_options);