Skip to content

Commit

Permalink
Merge branch 'sidv/splitUnicode' of https://github.com/mermaid-js/mer…
Browse files Browse the repository at this point in the history
…maid into sidv/splitUnicode

* 'sidv/splitUnicode' of https://github.com/mermaid-js/mermaid:
  Update packages/mermaid/src/rendering-util/types.d.ts
  • Loading branch information
sidharthv96 committed Jul 25, 2023
2 parents 841ae15 + a7d4072 commit 651bc98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mermaid/src/rendering-util/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export interface MarkdownWord {
type: MarkdownWordType;
}
export type MarkdownLine = MarkdownWord[];
/** Returns `true` if the line fits a constraint (e.g. it's under 𝑛 chars) */
export type CheckFitFunction = (text: MarkdownLine) => boolean;

0 comments on commit 651bc98

Please sign in to comment.