Skip to content

Commit

Permalink
add comment for ts ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ad1992 committed Nov 3, 2023
1 parent 58bad98 commit a818f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/diagram.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Expecting 'TXT', got 'NEWLINE'"
const diagram = await getDiagramFromText(`sequenceDiagram
A->>B: I #9829; you!
B->>A: I #9829; you #infin; times more!`);
//@ts-ignore
// @ts-ignore: we need to add types for sequenceDb which will be done in separate PR
const messages = diagram.db?.getMessages?.();
if (!messages) {
throw new Error('Messages not found!');
Expand Down

0 comments on commit a818f3e

Please sign in to comment.