Skip to content

feat: package @sciux/math (#6) #67

feat: package @sciux/math (#6)

feat: package @sciux/math (#6) #67

Triggered via push June 27, 2025 04:34
Status Failure
Total duration 58s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 4 warnings
lint: test/src/main.ts#L107
Argument of type '{ test: string; widget: string; '@sciux/math': { angle: string; figure: string; circle: string; plane: string; }; }' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L105
Argument of type '{ test: string; widget: string; '@sciux/math': { angle: string; figure: string; circle: string; plane: string; }; }' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L73
Type 'undefined' is not assignable to type 'string'.
lint: test/src/main.ts#L67
Argument of type 'Item[]' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L63
Type 'Item[]' is not assignable to type 'string'.
lint: packages/sciux/src/math.ts#L14
Argument of type 'Component<"plane", { x: number; y: number; division: number; domain: number[]; range: number[]; xLabel: unknown; yLabel: unknown; xDirection: "left" | "right"; yDirection: "top" | "bottom"; } & withLabelT, {}>' is not assignable to parameter of type 'Component<"plane", Record<string, unknown>, {}>'.
lint: packages/math/src/plane/index.ts#L22
Type '{ x: number; y: number; division: number; domain: number[]; range: number[]; xLabel: unknown; yLabel: unknown; xDirection: "left" | "right"; yDirection: "top" | "bottom"; } & withLabelT' does not satisfy the constraint 'Record<string, unknown>'.
lint: packages/math/src/function/index.ts#L64
Type 'withExprT & { domain: number[]; division: number; expr: unknown; }' does not satisfy the constraint 'Record<string, unknown>'.
lint: packages/math/src/function/index.ts#L33
Type 'withExprT & { domain: number[]; division: number; expr: unknown; }' does not satisfy the constraint 'Record<string, unknown>'.
lint: packages/math/src/axis/index.ts#L19
Type '{ x: number; y: number; division: number; range: number[]; label: unknown; direction: "top" | "left" | "right" | "bottom"; } & withLabelT' does not satisfy the constraint 'Record<string, unknown>'.
test (lts/*, macos-latest)
Process completed with exit code 1.
test (lts/*, macos-latest)
Type '{ x: number; y: number; division: number; range: number[]; label: unknown; direction: "top" | "bottom" | "left" | "right"; } & withLabelT' does not satisfy the constraint 'Record<string, unknown>'.
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test (lts/*, ubuntu-latest)
Type '{ x: number; y: number; division: number; range: number[]; label: unknown; direction: "top" | "bottom" | "left" | "right"; } & withLabelT' does not satisfy the constraint 'Record<string, unknown>'.
test (lts/*, windows-latest)
Process completed with exit code 1.
test (lts/*, windows-latest)
Type '{ x: number; y: number; division: number; range: number[]; label: unknown; direction: "top" | "bottom" | "left" | "right"; } & withLabelT' does not satisfy the constraint 'Record<string, unknown>'.
lint: packages/math/src/plane/index.ts#L6
'T' is assigned a value but only used as a type. Allowed unused vars must match /^_/u
lint: packages/math/src/line/index.ts#L16
'context' is defined but never used. Allowed unused args must match /^_/u
lint: packages/math/src/function/index.ts#L6
'T' is assigned a value but only used as a type. Allowed unused vars must match /^_/u
lint: packages/math/src/axis/index.ts#L5
'T' is assigned a value but only used as a type. Allowed unused vars must match /^_/u