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
@@ -27,15 +27,15 @@ function arrayAlmostEqual(point: IVec | IVec3, point2: IVec | IVec3) {
}
export class Graph<V extends IVec | IVec3 = IVec> {
private _xMap = new Map<number, V[]>();
private readonly _xMap = new Map<number, V[]>();
private _yMap = new Map<number, V[]>();
private readonly _yMap = new Map<number, V[]>();
constructor(
private points: V[],
private blocks: Bound[] = [],
private expandedBlocks: Bound[] = [],
private excludedPoints: V[] = []
private readonly points: V[],
private readonly blocks: Bound[] = [],
private readonly expandedBlocks: Bound[] = [],
private readonly excludedPoints: V[] = []
) {
const xMap = this._xMap;
const yMap = this._yMap;