fix: refactor application event observing on web

This commit is contained in:
Karol Sójko
2022-10-21 14:28:03 +02:00
parent bd40a49484
commit 9fb85cd77a
11 changed files with 238 additions and 47 deletions

View File

@@ -0,0 +1,5 @@
import { ApplicationEvent } from '@standardnotes/snjs/dist/@types'
export interface EventObserverInterface {
handle(event: ApplicationEvent): Promise<void>
}