1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-06 00:05:36 +02:00

Merge branch 'develop' into pizzax-indexeddb

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

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>;