fix(electron): type on handlers (#3747)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-08-15 01:06:25 +00:00
1 parent 720a90fe93
commit 8487b2c4af
4 files changed
+18 -6

No files matched your search

+2 -2
View File
@@ -94,7 +94,7 @@ export type DBHandlers = {
getDocAsUpdates: (
workspaceId: string,
subdocId?: string
) => Promise<Uint8Array>;
) => Promise<Uint8Array | false>;
applyDocUpdate: (
id: string,
update: Uint8Array,
@@ -164,7 +164,7 @@ export type DialogHandlers = {
dbFileLocation?: string
) => Promise<MoveDBFileResult>;
selectDBFileLocation: () => Promise<SelectDBFileLocationResult>;
setFakeDialogResult: (result: any) => Promise<FakeDialogResult>;
setFakeDialogResult: (result: any) => Promise<void>;
};
export type UIHandlers = {