This commit is contained in:
Knut Sveidqvist 2024-01-30 16:07:19 +01:00
parent df9b801b0e
commit 907006ff3d
1 changed files with 5 additions and 1 deletions

View File

@ -129,7 +129,11 @@ function getNodeFromBlock(block: Block, db: BlockDB, positioned = false) {
};
return node;
}
type IOperation = (elem: any, block: any, db: any) => Promise<void>;
type IOperation = (
elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>,
block: Block,
db: BlockDB
) => Promise<void>;
async function calculateBlockSize(
elem: d3.Selection<SVGGElement, unknown, HTMLElement, any>,
block: any,