d3-geo-projection-types
v4.0.1
Published
TypeScript declarations for d3-geo-projection v4
Readme
d3-geo-projection-types
TypeScript declarations for d3-geo-projection v4.
Install:
npm i -D @types/d3-geo-projection@npm:d3-geo-projection-types@^4TypeScript discovers these declarations automatically. No registration import or TypeScript configuration change is required.
import { geoAiry, geoAiryRaw, geoMollweide } from "d3-geo-projection";
const airy = geoAiry();
const raw = geoAiryRaw();
const mollweide = geoMollweide();The declarations are generated from the installed d3-geo-projection/src/index.js export list. Regenerate them with npm run generate; validate committed output with npm run check:generated.
This first release deliberately models projection exports as no-argument factories. It does not attempt exact parameter lists or specialized fluent projection types. Only d3-geo-projection v4 is supported.
