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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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