feat: support more geometry types #35
Annotations
3 errors
|
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.
|
Loading