From 927718e236cbcd851604825592d02207ae1e9280 Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 8 Jan 2024 15:15:48 +0000 Subject: [PATCH] chore: typo --- packages/system/src/note-collection.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;