This repository was archived by the owner on Sep 26, 2019. It is now read-only.

Description
If a union type includes undefined, the type as a whole should be implied as being optional.
Take the layers property of the OverviewMap options:
https://github.com/openlayers/ol3/blob/v3.18.2/externs/olx.js#L1170
This is currently being emitted as:
layers: ol.layer.Layer[]|ol.Collection<ol.layer.Layer>
when it should've been emitted as
layers?: ol.layer.Layer[]|ol.Collection<ol.layer.Layer>