Skip to content

feat/math: animation perfection #75

feat/math: animation perfection

feat/math: animation perfection #75

Triggered via pull request July 4, 2025 03:11
Status Failure
Total duration 1m 26s
Artifacts

ci.yml

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

Annotations

15 errors and 7 warnings
lint
Process completed with exit code 1.
lint: test/src/main.ts#L108
Argument of type '{ test: string; widget: string; model: string; '@sciux/math': { angle: string; figure: string; circle: string; plane: string; parametric: string; }; INSTANCE: { ins01: string; }; }' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L106
Argument of type '{ test: string; widget: string; model: string; '@sciux/math': { angle: string; figure: string; circle: string; plane: string; parametric: string; }; INSTANCE: { ins01: string; }; }' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L74
Type 'undefined' is not assignable to type 'string'.
lint: test/src/main.ts#L68
Argument of type 'Item[]' is not assignable to parameter of type 'Item'.
lint: test/src/main.ts#L64
Type 'Item[]' is not assignable to type 'string'.
lint: packages/math/src/line/index.ts#L54
Argument of type '(node: HTMLElement, _: AnimationContext<string[]>, { attrs }: { attrs: ToRefs<{ from: [number, number]; to: [number, number]; value: string; type: "solid" | "dashed" | "dotted"; }>; }) => { ...; } | undefined' is not assignable to parameter of type 'Animation<string[], { from: [number, number]; to: [number, number]; value: string; type: "solid" | "dashed" | "dotted"; }, Record<string, unknown>>'.
lint: packages/math/src/angle/index.ts#L108
Argument of type '(node: HTMLElement) => { validator: (name: string) => name is "angle"; setup(progress: number): true | undefined; }' is not assignable to parameter of type 'Animation<string[], {}, Record<string, unknown>>'.
lint: packages/math/src/angle/arc.ts#L53
Argument of type '(node: HTMLElement, _: AnimationContext<string[]>, { context }: { context: { from: number; to: number; startSide: number; endSide: number; }; }) => { validator: (name: string) => name is "arc"; setup(progress: number): true | undefined; }' is not assignable to parameter of type 'Animation<string[], {}, { from: number; to: number; startSide: number; endSide: number; }>'.
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test (lts/*, ubuntu-latest)
Argument of type '(node: HTMLElement) => { validator: (name: string) => name is "angle"; setup(progress: number): true | undefined; }' is not assignable to parameter of type 'Animation<string[], {}, Record<string, unknown>>'.
test (lts/*, macos-latest)
Process completed with exit code 1.
test (lts/*, macos-latest)
Argument of type '(node: HTMLElement) => { validator: (name: string) => name is "angle"; setup(progress: number): true | undefined; }' is not assignable to parameter of type 'Animation<string[], {}, Record<string, unknown>>'.
test (lts/*, windows-latest)
Process completed with exit code 1.
test (lts/*, windows-latest)
Argument of type '(node: HTMLElement) => { validator: (name: string) => name is "angle"; setup(progress: number): true | undefined; }' is not assignable to parameter of type 'Animation<string[], {}, Record<string, unknown>>'.
lint: packages/math/src/plane/index.ts#L17
'withLabelT' is defined but never used. Allowed unused vars must match /^_/u
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#L17
'context' is defined but never used. Allowed unused args must match /^_/u
lint: packages/math/src/function/index.ts#L11
'withExprT' is defined but never used. Allowed unused vars 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#L13
'withLabelT' is defined but never used. 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