fix: make mermaid.parse
throw an error on invalid shapes
#13246
Annotations
11 errors
Install dependencies
Type '"kanbanSection"' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
|
Install dependencies
Argument of type '{ id: string; label: string; isGroup: true; ticket: string | undefined; shape: "kanbanSection"; level: number; look: "classic" | "handDrawn" | undefined; }' is not assignable to parameter of type 'KanbanNode'.
|
Install dependencies
Type 'string' is not assignable to type '"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "choice" | "note" | "rectWithTitle" | ... 137 more ... | undefined'.
|
Install dependencies
Object is possibly 'null'.
|
Install dependencies
Argument of type 'D3Selection<SVGAElement>' is not assignable to parameter of type 'SVG & D3Selection<SVGAElement>'.
|
Install dependencies
Argument of type 'SVGGroup' is not assignable to parameter of type 'SVG & D3Selection<SVGGElement>'.
|
Install dependencies
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<D3Selection<T> | Selection<SVGGElement, unknown, Element | null, unknown>>' is not assignable to type 'ShapeHandler'.
|
Install dependencies
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<Selection<SVGGElement, unknown, Element | null, unknown> | D3Selection<...>>' is not assignable to type 'ShapeHandler'.
|
Install dependencies
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<Selection<SVGGElement, unknown, Element | null, unknown> | D3Selection<...>>' is not assignable to type 'ShapeHandler'.
|
Install dependencies
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<Selection<SVGGElement, unknown, Element | null, unknown> | D3Selection<...>>' is not assignable to type 'ShapeHandler'.
|
Cypress run
Could not find Cypress test run results
|
Loading