1
0
forked from mirror/misskey

Merge branch 'develop' into pizzax-indexeddb

This commit is contained in:
tamaina 2021-12-30 02:46:15 +09:00
commit 9e6415e76c

View File

@ -14,7 +14,7 @@ type ReactiveState<T extends StateDef> = { [K in keyof T]: Ref<T[K]['default']>;
type ArrayElement<A> = A extends readonly (infer T)[] ? T : never;
const connection = $i ? stream.useChannel('main') : null;
const connection = $i && stream.useChannel('main');
export class Storage<T extends StateDef> {
public readonly ready: PromiseLike<void>;