mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 02:20:19 +08:00
feat(y-indexeddb): cleanup (#2207)
Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
@@ -11,7 +11,7 @@ export function upgradeDB(db: IDBPDatabase<BlockSuiteBinaryDB>) {
|
||||
export interface IndexedDBProvider {
|
||||
connect: () => void;
|
||||
disconnect: () => void;
|
||||
cleanup: () => void;
|
||||
cleanup: () => Promise<void>;
|
||||
whenSynced: Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user