Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: linting
  • Loading branch information
achingbrain committed Aug 14, 2022
commit c3122675328d4e08a4e468c192d42cc0d3038221
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ async function * levelIteratorToIterator (li) {
}

/**
* @typedef {Object} LevelIterator
* @typedef {object} LevelIterator
* @property {(cb: (err: Error, key: string | Uint8Array | null, value: any)=> void)=>void} next
* @property {(cb: (err: Error) => void) => void } end
*/
Expand All @@ -256,7 +256,7 @@ async function * levelIteratorToIterator (li) {
* @param {LevelIterator} li - Level iterator
* @returns {AsyncIterable<Pair>}
*/
function oldLevelIteratorToIterator (li) {
function oldLevelIteratorToIterator (li) {
return {
[Symbol.asyncIterator] () {
return {
Expand All @@ -281,4 +281,4 @@ async function * levelIteratorToIterator (li) {
}
}
}
}
}