mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-08-18 06:31:33 +08:00
fix: fix remaining JSDoc and TS errors
This commit is contained in:
@ -5,14 +5,18 @@ import { getMid } from 'diagram-js/lib/layout/LayoutUtil';
|
||||
/**
|
||||
* @typedef {import('./LineAttachmentUtil').Attachment} Attachment
|
||||
*
|
||||
* @typedef {import('./LayoutUtil').FindNewLintStartIndexHints} FindNewLintStartIndexHints
|
||||
* @typedef {import('./LayoutUtil').FindNewLineStartIndexHints} FindNewLineStartIndexHints
|
||||
*
|
||||
* @typedef {import('../../../../model/Types').BpmnLabel} BpmnLabel
|
||||
*
|
||||
* @typedef {import('diagram-js/lib/util/Types').Point} Point
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {Point[]} oldWaypoints
|
||||
* @param {Point[]} newWaypoints
|
||||
* @param {Attachment} attachment
|
||||
* @param {FindNewLintStartIndexHints} hints
|
||||
* @param {FindNewLineStartIndexHints} hints
|
||||
*
|
||||
* @return {number}
|
||||
*/
|
||||
@ -27,7 +31,7 @@ export function findNewLabelLineStartIndex(oldWaypoints, newWaypoints, attachmen
|
||||
* @param {BpmnLabel} label
|
||||
* @param {Point[]} newWaypoints
|
||||
* @param {Point[]} oldWaypoints
|
||||
* @param {FindNewLintStartIndexHints} hints
|
||||
* @param {FindNewLineStartIndexHints} hints
|
||||
*
|
||||
* @return {Point}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user