@@ -153,8 +153,8 @@ export class AbstractKeyIterator<TDatabase, K> extends CommonIterator<TDatabase,
153153 * @param size Get at most this many keys. Has a soft minimum of 1.
154154 * @param options Options (none at the moment, reserved for future use).
155155 */
156- nextv ( size : number , options : { } ) : Promise < [ K ] >
157- nextv ( size : number ) : Promise < [ K ] >
156+ nextv ( size : number , options : { } ) : Promise < K [ ] >
157+ nextv ( size : number ) : Promise < K [ ] >
158158
159159 /**
160160 * Advance repeatedly and get all (remaining) keys as an array, automatically closing
@@ -165,8 +165,8 @@ export class AbstractKeyIterator<TDatabase, K> extends CommonIterator<TDatabase,
165165 *
166166 * @param options Options (none at the moment, reserved for future use).
167167 */
168- all ( options : { } ) : Promise < [ K ] >
169- all ( ) : Promise < [ K ] >
168+ all ( options : { } ) : Promise < K [ ] >
169+ all ( ) : Promise < K [ ] >
170170
171171 /**
172172 * Seek to the key closest to {@link target}. Subsequent calls to {@link next()},
@@ -198,8 +198,8 @@ export class AbstractValueIterator<TDatabase, K, V> extends CommonIterator<TData
198198 * @param size Get at most this many values. Has a soft minimum of 1.
199199 * @param options Options (none at the moment, reserved for future use).
200200 */
201- nextv ( size : number , options : { } ) : Promise < [ V ] >
202- nextv ( size : number ) : Promise < [ V ] >
201+ nextv ( size : number , options : { } ) : Promise < V [ ] >
202+ nextv ( size : number ) : Promise < V [ ] >
203203
204204 /**
205205 * Advance repeatedly and get all (remaining) values as an array, automatically closing
@@ -210,8 +210,8 @@ export class AbstractValueIterator<TDatabase, K, V> extends CommonIterator<TData
210210 *
211211 * @param options Options (none at the moment, reserved for future use).
212212 */
213- all ( options : { } ) : Promise < [ V ] >
214- all ( ) : Promise < [ V ] >
213+ all ( options : { } ) : Promise < V [ ] >
214+ all ( ) : Promise < V [ ] >
215215
216216 /**
217217 * Seek to the key closest to {@link target}. Subsequent calls to {@link next()},
0 commit comments