Fix remaining issues after removing control disabling comments
- Restore nostrEventParsing.ts that was accidentally deleted - Fix zapAggregation.ts type error without using any - Mark _unusedExtractTags parameter as unused with underscore prefix - All TypeScript checks pass
This commit is contained in:
parent
85e3e57ad5
commit
2d4aaac007
@ -85,7 +85,8 @@ function collectZap(
|
|||||||
sub.on('eose', () => done())
|
sub.on('eose', () => done())
|
||||||
setTimeout(() => done(), timeout).unref?.()
|
setTimeout(() => done(), timeout).unref?.()
|
||||||
if (typeof (sub as unknown as { on?: unknown }).on === 'function') {
|
if (typeof (sub as unknown as { on?: unknown }).on === 'function') {
|
||||||
;(sub as any).on('error', onError)
|
const subWithError = sub as unknown as { on: (event: string, handler: (error: Error) => void) => void }
|
||||||
|
subWithError.on('error', onError)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user