Merge pull request #4078 from fredj/jscomp_error

Enable all the compiler checks
This commit is contained in:
Frédéric Junod
2015-09-07 15:32:43 +02:00
6 changed files with 22 additions and 102 deletions

View File

@@ -157,10 +157,10 @@ ol.format.WMSCapabilities.readEXGeographicBoundingBox_ =
!goog.isDef(eastBoundLongitude) || !goog.isDef(northBoundLatitude)) {
return undefined;
}
return [
return /** @type {ol.Extent} */ ([
westBoundLongitude, southBoundLatitude,
eastBoundLongitude, northBoundLatitude
];
]);
};