Skip to content

fix linting

fix linting #33

Triggered via push November 9, 2023 14:18
Status Failure
Total duration 46s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
deploy: src/calculations/ray.ts#L42
Type 'null' is not assignable to type 'NumericRange'.
deploy: src/calculations/ray.ts#L49
Type 'NumericRange | null' is not assignable to type 'NumericRange'.
deploy: src/calculations/ray.ts#L92
'result' is possibly 'null'.
deploy: src/calculations/ray.ts#L92
'result' is possibly 'null'.
deploy: src/presets/presetManager.ts#L17
Conversion of type '{ "I22 SAXS Isotropic": { detector: string; beamstop: { centre: { x: number; y: number; }; diameter: number; clearance: number; }; cameraTube: { centre: { x: number; y: number; }; diameter: number; }; angle: number; ... 4 more ...; maxCameraLength: number; }; "I22 SAXS Anisotropic": { ...; }; }' to type 'Record<string, AppDataFormat>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
deploy
Process completed with exit code 2.