refactor: fix more type errors in kanbanItem #435
release-preview-publish.yml
on: push
publish-preview
1m 19s
Annotations
10 errors
publish-preview
Unused '@ts-expect-error' directive.
|
publish-preview
'generateShapeMap' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
|
publish-preview
Type 'Record<"join" | "state" | "db" | "summary" | "start" | "document" | "event" | "stop" | "process" | "text" | "circle" | "rect" | "database" | "display" | "priority" | "icon" | "choice" | ... 137 more ... | "class-box", (<T extends SVGGraphicsElement>(parent: D3Selection<...>, node: Node) => Promise<...>) | ... 57 mor...' does not satisfy the expected type 'Record<string, ShapeHandler>'.
|
publish-preview
'shapes' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
publish-preview
Type alias 'ShapeID' circularly references itself.
|
publish-preview
'kanbanItem' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
|
publish-preview
'shapeSvg' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
publish-preview
Untyped function calls may not accept type arguments.
|
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; }'.
|