mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -14,7 +14,7 @@ type ChannelMessage =
|
||||
};
|
||||
|
||||
export class BroadcastChannelDocSource implements DocSource {
|
||||
private _onMessage = (event: MessageEvent<ChannelMessage>) => {
|
||||
private readonly _onMessage = (event: MessageEvent<ChannelMessage>) => {
|
||||
if (event.data.type === 'init') {
|
||||
for (const [docId, data] of this.docMap) {
|
||||
this.channel.postMessage({
|
||||
|
||||
Reference in New Issue
Block a user