Skip to content

fix: make mermaid.parse throw an error on invalid shapes #5147

fix: make mermaid.parse throw an error on invalid shapes

fix: make mermaid.parse throw an error on invalid shapes #5147

Triggered via pull request October 29, 2024 09:45
Status Failure
Total duration 10m 19s
Artifacts

build-docs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors
build-docs
Process completed with exit code 3.
build-docs
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'.
build-docs
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'.
build-docs
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'.
build-docs
Object is possibly 'null'.
build-docs
Argument of type 'D3Selection<SVGAElement>' is not assignable to parameter of type 'SVG & D3Selection<SVGAElement>'.
build-docs
Argument of type 'SVGGroup' is not assignable to parameter of type 'SVG & D3Selection<SVGGElement>'.
build-docs
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<D3Selection<T> | Selection<SVGGElement, unknown, Element | null, unknown>>' is not assignable to type 'ShapeHandler'.
build-docs
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<Selection<SVGGElement, unknown, Element | null, unknown> | D3Selection<...>>' is not assignable to type 'ShapeHandler'.
build-docs
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<Selection<SVGGElement, unknown, Element | null, unknown> | D3Selection<...>>' is not assignable to type 'ShapeHandler'.
build-docs
Type '<T extends SVGGraphicsElement>(parent: D3Selection<T>, node: Node) => Promise<Selection<SVGGElement, unknown, Element | null, unknown> | D3Selection<...>>' is not assignable to type 'ShapeHandler'.