fix: fix remaining JSDoc and TS errors

This commit is contained in:
Philipp
2023-04-13 16:15:19 +02:00
committed by Philipp Fromme
parent 7c089d0023
commit 07f75f7cd5
30 changed files with 921 additions and 225 deletions

View File

@ -3,7 +3,7 @@ import { getAnchorPointAdjustment } from './LayoutUtil';
/**
* @typedef {import('diagram-js/lib/util/Types').Point} Point
*
* @typedef {import('./LayoutUtil').FindNewLintStartIndexHints} FindNewLintStartIndexHints
* @typedef {import('./LayoutUtil').FindNewLineStartIndexHints} FindNewLineStartIndexHints
*/
/**
@ -12,7 +12,7 @@ import { getAnchorPointAdjustment } from './LayoutUtil';
* @param {Point} position
* @param {Point[]} newWaypoints
* @param {Point[]} oldWaypoints
* @param {FindNewLintStartIndexHints} hints
* @param {FindNewLineStartIndexHints} hints
*
* @return {Point}
*/