Skip to content

Commit

Permalink
fix(draw): use correct Types in BpmnRenderUtil (#2036)
Browse files Browse the repository at this point in the history
closes #2028
  • Loading branch information
marstamm authored Nov 27, 2023
1 parent 6a109d0 commit 1c428f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/draw/BpmnRenderUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export function getRectPath(shape) {
/**
* Get width and height from element or overrides.
*
* @param {Dimensions|Rect|Shape} bounds
* @param {Dimensions|Rect|ShapeLike} bounds
* @param {Object} overrides
*
* @returns {Dimensions}
Expand All @@ -235,7 +235,7 @@ export function getBounds(bounds, overrides = {}) {
/**
* Get width from element or overrides.
*
* @param {Dimensions|Rect|Shape} bounds
* @param {Dimensions|Rect|ShapeLike} bounds
* @param {Object} overrides
*
* @returns {number}
Expand All @@ -247,7 +247,7 @@ export function getWidth(bounds, overrides = {}) {
/**
* Get height from element or overrides.
*
* @param {Dimensions|Rect|Shape} bounds
* @param {Dimensions|Rect|ShapeLike} bounds
* @param {Object} overrides
*
* @returns {number}
Expand Down

0 comments on commit 1c428f6

Please sign in to comment.