Skip to content

Commit

Permalink
Fix boundMessage type
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Jan 27, 2024
1 parent 3b0c5c3 commit bc332e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagrams/sequence/sequenceRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ const actorFont = (cnf) => {
* @param msgModel - The model containing fields describing a message
* @returns `lineStartY` - The Y coordinate at which the message line starts
*/
async function boundMessage(_diagram, msgModel): number {
async function boundMessage(_diagram, msgModel): Promise<number> {
bounds.bumpVerticalPos(10);
const { startx, stopx, message } = msgModel;
const lines = common.splitBreaks(message).length;
Expand Down

0 comments on commit bc332e3

Please sign in to comment.