Move top-level typedefs to typedefs.js
With one exception, those directly in the `ol` namespace can be moved without problem. Some left-over goog.requires are also removed.
This commit is contained in:
@@ -1,16 +1,9 @@
|
||||
goog.provide('ol.ResolutionConstraint');
|
||||
goog.provide('ol.ResolutionConstraintType');
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.math');
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {function((number|undefined), number, number): (number|undefined)}
|
||||
*/
|
||||
ol.ResolutionConstraintType;
|
||||
|
||||
|
||||
/**
|
||||
* @param {Array.<number>} resolutions Resolutions.
|
||||
* @return {ol.ResolutionConstraintType} Zoom function.
|
||||
|
||||
Reference in New Issue
Block a user