fixed typescript issues
This commit is contained in:
@@ -345,13 +345,12 @@ export const OBJECT_PROPERTY_NODE_FACTORY = makeSimpleNodeFactory();
|
||||
* Create an array of `values` to be used with {@link module:ol/xml~serialize} or
|
||||
* {@link module:ol/xml~pushSerializeAndPop}, where `orderedKeys` has to be provided as
|
||||
* `opt_key` argument.
|
||||
* @param {Object<string, V>} object Key-value pairs for the sequence. Keys can
|
||||
* @param {Object<string, *>} object Key-value pairs for the sequence. Keys can
|
||||
* be a subset of the `orderedKeys`.
|
||||
* @param {Array<string>} orderedKeys Keys in the order of the sequence.
|
||||
* @return {Array<V>} Values in the order of the sequence. The resulting array
|
||||
* @return {Array<*>} Values in the order of the sequence. The resulting array
|
||||
* has the same length as the `orderedKeys` array. Values that are not
|
||||
* present in `object` will be `undefined` in the resulting array.
|
||||
* @template V
|
||||
*/
|
||||
export function makeSequence(object, orderedKeys) {
|
||||
const length = orderedKeys.length;
|
||||
|
||||
Reference in New Issue
Block a user