Update Diagram.ts

This commit is contained in:
Ted Marozzi
2023-03-06 10:19:06 +11:00
committed by GitHub
parent 44d806e7f5
commit 72c94b6e6e

View File

@@ -76,7 +76,7 @@ export class Diagram {
/** /**
* Parse the text asynchronously and generate a Diagram object asynchronously. * Parse the text asynchronously and generate a Diagram object asynchronously.
* **Warning:** This function may be changed in the future. * **Warning:** This function may be changed in the future.
* @internal * @alpha
* @param text - The mermaid diagram definition. * @param text - The mermaid diagram definition.
* @returns A the Promise of a Diagram object. * @returns A the Promise of a Diagram object.
* @throws {@link UnknownDiagramError} if the diagram type can not be found. * @throws {@link UnknownDiagramError} if the diagram type can not be found.