I am creating this issue as a replacement tracking issue for #11365, #11365 and #17846.
The following is a table to track refinements/technical debt related to D3 module definitions.
- JSDoc: Complete JSDoc comments including parameters and generics explanation
- strictNullChecks: Validated for
strictNullChecks and compiler option set to true
- strictFunctionTypes: Validated for
strictFunctionTypes and compiler option set to true
- TS 2.3: Minimum version of TS 2.3 and definitions use defaults for generics
| Definition |
JSDoc |
strictNullChecks |
strictFunctionTypes |
TS 2.3 |
| d3 |
N/A |
🔲 |
🔲 |
✅ |
| d3-array |
🔲 |
✅ |
🔲 |
🔲 |
| d3-axis |
✅ |
✅ |
✅ |
✅ |
| d3-brush |
✅ |
✅ |
🔲 |
🔲 |
| d3-chord |
✅ |
✅ |
🔲 |
🔲 |
| d3-collection |
✅ |
✅ |
✅ |
✅ |
| d3-color |
🔲 |
✅ |
✅ |
✅ |
| d3-contour |
✅ |
✅ |
✅ |
🔲 |
| d3-dispatch |
✅ |
✅ |
✅ |
✅ |
| d3-drag |
✅ |
✅ |
🔲 |
🔲 |
| d3-dsv |
✅ |
✅ |
🔲 |
🔲 |
| d3-ease |
✅ |
✅ |
🔲 |
🔲 |
| d3-fetch |
✅ |
✅ |
🔲 |
🔲 |
| d3-force |
✅ |
✅ |
🔲 |
🔲 |
| d3-format |
✅ |
✅ |
✅ |
✅ |
| d3-geo |
✅ |
✅ |
✅ |
✅ |
| d3-hexbin |
🔲 |
🔲 |
🔲 |
🔲 |
| d3-hierarchy |
🔲 |
🔲 |
🔲 |
🔲 |
| d3-interpolate |
🔲 |
🔲 |
🔲 |
🔲 |
| d3-path |
✅ |
✅ |
🔲 |
🔲 |
| d3-polygon |
✅ |
✅ |
✅ |
✅ |
| d3-quadtree |
🔲 |
🔲 |
🔲 |
🔲 |
| d3-queue |
✅ |
🔲 |
🔲 |
🔲 |
| d3-random |
✅ |
✅ |
🔲 |
🔲 |
| d3-request |
🔲 |
🔲 |
🔲 |
🔲 |
| d3-sankey |
✅ |
✅ |
🔲 |
🔲 |
| d3-scale |
✅ |
✅ |
🔲 |
🔲 |
| d3-scale-chromatic |
✅ |
✅ |
🔲 |
🔲 |
| d3-selection |
✅ |
✅ |
✅ |
🔲 |
| d3-selection-multi |
✅ |
✅ |
🔲 |
🔲 |
| d3-shape |
✅ |
✅ |
🔲 |
🔲 |
| d3-time |
✅ |
✅ |
🔲 |
🔲 |
| d3-time-format |
✅ |
✅ |
🔲 |
🔲 |
| d3-timer |
✅ |
🔲 |
🔲 |
🔲 |
| d3-transition |
✅ |
✅ |
🔲 |
🔲 |
| d3-voronoi |
✅ |
🔲 |
🔲 |
🔲 |
| d3-zoom |
✅ |
✅ |
🔲 |
🔲 |
"Outside" of core team maintenance:
| Module |
JSDoc |
strictNullChecks |
strictFunctionTypes |
TS 2.3 |
| d3-hsv |
✅ |
✅ |
✅ |
✅ |
Definitions by:inindex.d.ts) so they can respond.I am creating this issue as a replacement tracking issue for #11365, #11365 and #17846.
The following is a table to track refinements/technical debt related to D3 module definitions.
strictNullChecksand compiler option set totruestrictFunctionTypesand compiler option set totruestrictNullChecksstrictFunctionTypesTS 2.3"Outside" of core team maintenance:
strictNullChecksstrictFunctionTypesTS 2.3