Skip to content

refactor(types): fix some type errors in kanbanItem #433

refactor(types): fix some type errors in kanbanItem

refactor(types): fix some type errors in kanbanItem #433

Triggered via push October 29, 2024 12:16
Status Success
Total duration 1m 28s
Artifacts
publish-preview
1m 20s
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
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'.
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'.