mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -32,9 +32,9 @@ export interface AwarenessEvent<
|
||||
}
|
||||
|
||||
export class AwarenessStore<Flags extends BlockSuiteFlags = BlockSuiteFlags> {
|
||||
private _flags: Signal<Flags>;
|
||||
private readonly _flags: Signal<Flags>;
|
||||
|
||||
private _onAwarenessChange = (diff: {
|
||||
private readonly _onAwarenessChange = (diff: {
|
||||
added: number[];
|
||||
removed: number[];
|
||||
updated: number[];
|
||||
|
||||
@@ -10,7 +10,7 @@ export type BlockSuiteDocAllowedValue =
|
||||
export type BlockSuiteDocData = Record<string, BlockSuiteDocAllowedValue>;
|
||||
|
||||
export class BlockSuiteDoc extends Y.Doc {
|
||||
private _spaces: Y.Map<Y.Doc> = this.getMap('spaces');
|
||||
private readonly _spaces: Y.Map<Y.Doc> = this.getMap('spaces');
|
||||
|
||||
get spaces() {
|
||||
return this._spaces;
|
||||
|
||||
Reference in New Issue
Block a user