Skip to content

Move @types/geojson to dependencies#76

Merged
bhousel merged 1 commit intomainfrom
types-geojson-dep
Apr 29, 2026
Merged

Move @types/geojson to dependencies#76
bhousel merged 1 commit intomainfrom
types-geojson-dep

Conversation

@bhousel
Copy link
Copy Markdown
Contributor

@bhousel bhousel commented Apr 29, 2026

The public API exports LocoFeature and LocoFeatureCollection, which extend GeoJSON.Feature and GeoJSON.FeatureCollection from @types/geojson. TypeScript consumers need the GeoJSON namespace available at compile time, so @types/geojson must be a regular dependency (not devDependencies) to ensure it's installed transitively.

The public API exports types that extend GeoJSON.Feature and
GeoJSON.FeatureCollection from @types/geojson. Consumers need
the GeoJSON namespace available at compile time, so this package
must be a runtime (non-dev) dependency so it gets installed
transitively.
@bhousel bhousel merged commit 9f7c3ea into main Apr 29, 2026
1 check passed
@bhousel bhousel deleted the types-geojson-dep branch April 29, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant