Merge pull request #13301 from EvertEt/strictnullchecks-2

Improve some null types to prepare for strictNullChecks
This commit is contained in:
Tim Schaub
2022-02-09 04:51:54 -07:00
committed by GitHub
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) {