Improve some null types to prepare for strictNullChecks

This commit is contained in:
EvertEt
2022-01-30 12:15:46 +01:00
parent 12f8bae261
commit e3d3d24f05
20 changed files with 41 additions and 39 deletions

View File

@@ -119,7 +119,7 @@ class BaseLayer extends BaseObject {
* @private
*/
this.className_ =
properties.className !== undefined ? options.className : 'ol-layer';
properties.className !== undefined ? properties.className : 'ol-layer';
delete properties.className;
this.setProperties(properties);
@@ -288,7 +288,7 @@ class BaseLayer extends BaseObject {
}
/**
* Sets the backgrlound color.
* Sets the background color.
* @param {BackgroundColor} [opt_background] Background color.
*/
setBackground(opt_background) {