Improve some null types for strictNullChecks

This commit is contained in:
EvertEt
2022-02-06 19:35:41 +01:00
parent 459cd51ae2
commit 25e1d6c5d6
17 changed files with 37 additions and 37 deletions

View File

@@ -219,7 +219,7 @@ class Source extends BaseObject {
/**
* Turns the attributions option into an attributions function.
* @param {AttributionLike|undefined} attributionLike The attribution option.
* @return {?Attribution} An attribution function (or null).
* @return {Attribution|null} An attribution function (or null).
*/
function adaptAttributions(attributionLike) {
if (!attributionLike) {