mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
chore: fix eslint in blocksuite (#9232)
This commit is contained in:
@@ -6,7 +6,7 @@ type PriorityQueueNode<T, K> = {
|
||||
export class PriorityQueue<T, K> {
|
||||
heap: PriorityQueueNode<T, K>[] = [];
|
||||
|
||||
constructor(private _compare: (a: K, b: K) => number) {}
|
||||
constructor(private readonly _compare: (a: K, b: K) => number) {}
|
||||
|
||||
bubbleDown(): void {
|
||||
let index = 0;
|
||||
|
||||
Reference in New Issue
Block a user