fix linting #33
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.
|