ressurect broadcast-channel

This commit is contained in:
tamaina
2022-04-28 02:57:59 +09:00
parent f9bae60357
commit 36f9fb99ae
4 changed files with 88 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import { api } from './os';
import { get, set } from './scripts/idb-proxy';
import { defaultStore } from './store';
import { stream } from './stream';
import { BroadcastChannel } from 'broadcast-channel';
type StateDef = Record<string, {
where: 'account' | 'device' | 'deviceAccount';