fix the test

This commit is contained in:
ennmichael
2023-03-02 21:13:57 +01:00
parent c20dea1dba
commit 6daa75b21c
3 changed files with 14 additions and 12 deletions

View File

@ -1,6 +1,5 @@
import Base from "events"
import { Nostr, SubscriptionId } from "."
import { RawEvent, SignedEvent } from "../event"
import { EventParams, Nostr } from "."
/**
* Overrides providing better types for EventEmitter methods.
@ -144,9 +143,3 @@ type Listener =
| EventListener
| NoticeListener
| ErrorListener
interface EventParams {
signed: SignedEvent
subscriptionId: SubscriptionId
raw: RawEvent
}