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

@@ -46,7 +46,7 @@ export class GfxViewportElement extends WithDisposable(ShadowlessElement) {
}
`;
private _hideOutsideBlock = requestThrottledConnectedFrame(() => {
private readonly _hideOutsideBlock = requestThrottledConnectedFrame(() => {
if (this.getModelsInViewport && this.host) {
const host = this.host;
const modelsInViewport = this.getModelsInViewport();
@@ -77,12 +77,12 @@ export class GfxViewportElement extends WithDisposable(ShadowlessElement) {
private _lastVisibleModels?: Set<GfxBlockElementModel>;
private _pendingChildrenUpdates: {
private readonly _pendingChildrenUpdates: {
id: string;
resolve: () => void;
}[] = [];
private _refreshViewport = requestThrottledConnectedFrame(() => {
private readonly _refreshViewport = requestThrottledConnectedFrame(() => {
this._hideOutsideBlock();
}, this);