mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 11:14:12 +01:00
Update packages/mermaid/src/rendering-util/types.d.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -4,4 +4,5 @@ export interface MarkdownWord {
|
|||||||
type: MarkdownWordType;
|
type: MarkdownWordType;
|
||||||
}
|
}
|
||||||
export type MarkdownLine = MarkdownWord[];
|
export type MarkdownLine = MarkdownWord[];
|
||||||
|
/** Returns `true` if the line fits a constraint (e.g. it's under 𝑛 chars) */
|
||||||
export type CheckFitFunction = (text: MarkdownLine) => boolean;
|
export type CheckFitFunction = (text: MarkdownLine) => boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user