You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the typescript declarations the Promise overloads of .all() and .nextv() of AbstractKeyIterator return Promise<[K]>. However they should return a promise to an array of type K (so Promise<K[]> or Promise<Array<K>>). Similarly the Callback versions are declared to take NodeCallback<[K]> where it should be NodeCallback<Array<K>>.
The same situation exists for AbstractValueIterator, only with [V] where it should be Array<V> instead of [K].
The text was updated successfully, but these errors were encountered:
According to the typescript declarations the Promise overloads of
.all()
and.nextv()
ofAbstractKeyIterator
returnPromise<[K]>
. However they should return a promise to an array of typeK
(soPromise<K[]>
orPromise<Array<K>>
). Similarly the Callback versions are declared to takeNodeCallback<[K]>
where it should beNodeCallback<Array<K>>
.The same situation exists for
AbstractValueIterator
, only with[V]
where it should beArray<V>
instead of[K]
.The text was updated successfully, but these errors were encountered: