feat: support more geometry types #35
Annotations
2 errors and 1 warning
Run npm test
Argument of type '{ detectionDateStart: string; detectionDateEnd: string; sourceId: string; metadata: { [x: string]: string | number | boolean | (string | number | boolean | null)[] | null; }; geometry: { type: "Point"; coordinates: [number, number]; } | { type: "LineString"; coordinates: [number, number][]; } | { type: "MultiLineString"; coordinates: [number, number][][]; } | { type: "Polygon"; coordinates: [number, number][][]; } | { type: "MultiPoint"; coordinates: [number, number][]; } | { type: "MultiPolygon"; coordinates: [number, number][][][]; }; schemaName: "remoteDetectionAlert"; }' is not assignable to parameter of type 'ExactObject<{ schemaName: "remoteDetectionAlert"; detectionDateStart: string; detectionDateEnd: string; sourceId: string; metadata: { [k: string]: string | number | boolean | (string | number | boolean | null)[] | null; }; geometry: Geometry; }, { detectionDateStart: string; detectionDateEnd: string; sourceId: string; metadata: { [x: string]: string | number | boolean | (string | number | boolean | null)[] | null; }; geometry: { type: "Point"; coordinates: [number, number]; } | { type: "LineString"; coordinates: [number, number][]; } | { type: "MultiLineString"; coordinates: [number, number][][]; } | { type: "Polygon"; coordinates: [number, number][][]; } | { type: "MultiPoint"; coordinates: [number, number][]; } | { type: "MultiPolygon"; coordinates: [number, number][][][]; }; schemaName: "remoteDetectionAlert"; }>'.
|
Run npm test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading