Re:Why I don't miss React: a story about using the platform
by whimsicalism on Tuesday May 03, 2022 @06:09PM
(#31254250)
Does d3 have a typescript wrapper?
[ Parent
| on HN ]
Re:Why I don't miss React: a story about using the platform
by eyelidlessness on Tuesday May 03, 2022 @08:13PM
(#31255302)
As in a wrapper with an API more geared towards statically typed usage? Or just type definitions for the existing D3 APIs? The former is really uncommon (or at least not a particularly commonly idiom), but the latter is typically a quick search for @types/${packageName}. If that’s what you’re after, I was curious and saved you a search, because it would be quite surprising to me if something as popular as D3 was missing type defs: https://www.npmjs.com/package/@types/d3