Skip to content

Fix 27 TS errors in resources.spec.ts - Add type assertions #15

Fix 27 TS errors in resources.spec.ts - Add type assertions

Fix 27 TS errors in resources.spec.ts - Add type assertions #15

Triggered via push January 29, 2026 17:59
Status Failure
Total duration 25s
Artifacts

publish.yml

on: push
Publish NPM package
20s
Publish NPM package
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Publish NPM package: src/ogc-api/csapi/parsers/swe-common-parser.ts#L91
Conversion of type 'Record<string, unknown>' to type 'CountComponent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Publish NPM package: src/ogc-api/csapi/parsers/swe-common-parser.ts#L76
Conversion of type 'Record<string, unknown>' to type 'QuantityComponent' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Publish NPM package: src/ogc-api/csapi/parsers/swe-common-parser.ts#L12
Module '"../swe-common/types/simple-components.js"' has no exported member 'DataComponent'.
Publish NPM package: src/ogc-api/csapi/parsers/swe-common-parser.ts#L11
Module '"../swe-common/types/simple-components.js"' has no exported member 'AnyDataComponent'.
Publish NPM package: src/ogc-api/csapi/parsers/parsers.edge-cases.spec.ts#L532
Property 'coordinates' does not exist on type 'Geometry'.
Publish NPM package: src/ogc-api/csapi/parsers/parsers.edge-cases.spec.ts#L517
Property 'coordinates' does not exist on type 'Geometry'.
Publish NPM package: src/ogc-api/csapi/parsers/parsers.edge-cases.spec.ts#L265
Property 'coordinates' does not exist on type 'Geometry'.
Publish NPM package: src/ogc-api/csapi/parsers/parsers.edge-cases.spec.ts#L251
Property 'coordinates' does not exist on type 'Geometry'.
Publish NPM package: src/ogc-api/csapi/parsers/parsers.edge-cases.spec.ts#L237
Property 'coordinates' does not exist on type 'Geometry'.
Publish NPM package: src/ogc-api/csapi/parsers/parsers.edge-cases.spec.ts#L107
Argument of type '{ type: string; geometry: any; properties: { featureType: string; uid: string; }; }' is not assignable to parameter of type 'Feature<Geometry, { [name: string]: any; }> | FeatureCollection<Geometry, { [name: string]: any; }>'.