Skip to content

refactor(types): fix kanbanItem circular types #437

refactor(types): fix kanbanItem circular types

refactor(types): fix kanbanItem circular types #437

Triggered via push October 29, 2024 13:19
Status Success
Total duration 1m 25s
Artifacts
publish-preview
1m 15s
publish-preview
Fit to window
Zoom out
Zoom in

Annotations

10 errors
publish-preview
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'.
publish-preview
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'.
publish-preview
Object is possibly 'null'.
publish-preview
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
publish-preview
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
publish-preview
Argument of type '{ useHtmlLabels: boolean | undefined; labelStyle: string; width: number; icon: string | undefined; img: string | undefined; padding: number | undefined; centerLabel: boolean; }' is not assignable to parameter of type '{ labelStyle?: string | undefined; icon?: boolean | undefined; img?: string | undefined; useHtmlLabels?: boolean | undefined; padding: number; width?: number | undefined; centerLabel?: boolean | undefined; addSvgBackground?: boolean | undefined; }'.
publish-preview
Argument of type 'string[] | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGGElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
publish-preview
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
publish-preview
Argument of type 'number | undefined' is not assignable to parameter of type 'string | number | boolean | readonly (string | number)[] | ValueFn<SVGRectElement, unknown, string | number | boolean | readonly (string | number)[] | null> | null'.
publish-preview
Expected 1 arguments, but got 2.