chore: typo
This commit is contained in:
@ -29,7 +29,7 @@ export type OnEventCallbackRelease = () => void;
|
|||||||
export type OnEoseCallback = (c: string) => void;
|
export type OnEoseCallback = (c: string) => void;
|
||||||
export type OnEoseCallbackRelease = () => void;
|
export type OnEoseCallbackRelease = () => void;
|
||||||
|
|
||||||
export interface NostrStoreEvents {
|
export interface NosteStoreEvents {
|
||||||
progress: (loading: boolean) => void;
|
progress: (loading: boolean) => void;
|
||||||
event: (evs: Readonly<Array<TaggedNostrEvent>>) => void;
|
event: (evs: Readonly<Array<TaggedNostrEvent>>) => void;
|
||||||
}
|
}
|
||||||
@ -37,7 +37,7 @@ export interface NostrStoreEvents {
|
|||||||
/**
|
/**
|
||||||
* Generic note store interface
|
* Generic note store interface
|
||||||
*/
|
*/
|
||||||
export abstract class NoteStore extends EventEmitter<NostrStoreEvents> {
|
export abstract class NoteStore extends EventEmitter<NosteStoreEvents> {
|
||||||
abstract add(ev: Readonly<TaggedNostrEvent> | Readonly<Array<TaggedNostrEvent>>): void;
|
abstract add(ev: Readonly<TaggedNostrEvent> | Readonly<Array<TaggedNostrEvent>>): void;
|
||||||
abstract clear(): void;
|
abstract clear(): void;
|
||||||
abstract getSnapshotData(): NoteStoreSnapshotData | undefined;
|
abstract getSnapshotData(): NoteStoreSnapshotData | undefined;
|
||||||
|
Reference in New Issue
Block a user