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

@@ -367,7 +367,7 @@ export default WMTS;
* - format - {string} Image format for the layer. Default is the first
* format returned in the GetCapabilities response.
* - crossOrigin - {string|null|undefined} Cross origin. Default is `undefined`.
* @return {?Options} WMTS source options object or `null` if the layer was not found.
* @return {Options|null} WMTS source options object or `null` if the layer was not found.
* @api
*/
export function optionsFromCapabilities(wmtsCap, config) {