feat: store library to IndexedDB & support storage adapters (#7655)

This commit is contained in:
David Luzar
2024-03-08 22:29:19 +01:00
committed by GitHub
parent 480572f893
commit 2382fad4f6
14 changed files with 718 additions and 95 deletions

View File

@@ -62,3 +62,6 @@ export type MakeBrand<T extends string> = {
/** @private using ~ to sort last in intellisense */
[K in `~brand~${T}`]: T;
};
/** Maybe just promise or already fulfilled one! */
export type MaybePromise<T> = T | Promise<T>;