diff --git a/packages/system/src/note-collection.ts b/packages/system/src/note-collection.ts index 39d72be8..f296b67c 100644 --- a/packages/system/src/note-collection.ts +++ b/packages/system/src/note-collection.ts @@ -29,7 +29,7 @@ export type OnEventCallbackRelease = () => void; export type OnEoseCallback = (c: string) => void; export type OnEoseCallbackRelease = () => void; -export interface NostrStoreEvents { +export interface NosteStoreEvents { progress: (loading: boolean) => void; event: (evs: Readonly>) => void; } @@ -37,7 +37,7 @@ export interface NostrStoreEvents { /** * Generic note store interface */ -export abstract class NoteStore extends EventEmitter { +export abstract class NoteStore extends EventEmitter { abstract add(ev: Readonly | Readonly>): void; abstract clear(): void; abstract getSnapshotData(): NoteStoreSnapshotData | undefined;