Ok, I see.

I see some inconsistency. In `ol.ImageUrlFunctionType` the return type is `string|undefined` while it is `string` in the signature of the inner function.