remove deepcopy and broadcast-channel (=< Safari 15.4)

This commit is contained in:
tamaina
2022-04-27 23:06:40 +09:00
parent 10a23c5555
commit f9bae60357
4 changed files with 4 additions and 112 deletions

View File

@@ -1,7 +1,4 @@
// SafariがBroadcastChannel未実装なのでライブラリを使う
import { BroadcastChannel } from 'broadcast-channel';
export const reloadChannel = new BroadcastChannel<string | null>('reload');
export const reloadChannel = new BroadcastChannel('reload'); // string | null
// BroadcastChannelを用いて、クライアントが一斉にreloadするようにします。
export function unisonReload(path?: string) {