chore: fix eslint in blocksuite (#9232)

This commit is contained in:
Saul-Mirone
2024-12-20 16:48:10 +00:00
parent bfcc53dc1f
commit 3a82da0e5b
269 changed files with 935 additions and 842 deletions

View File

@@ -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({