Closed CruseCtrl closed 2 years ago
Using the first example on this page in a typescript file
const arc = d3.arc() .innerRadius(0) .outerRadius(100) .startAngle(0) .endAngle(Math.PI / 2); arc();
Results in this error on the arc():
arc()
TS2555: Expected at least 1 arguments, but got 0. index.d.ts(93, 18): An argument for 'd' was not provided.
I'm on the latest version of d3 (7.4.4), and typescript 4.5.5
We do not maintain the types, please open an issue with https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3
Using the first example on this page in a typescript file
Results in this error on the
arc()
:I'm on the latest version of d3 (7.4.4), and typescript 4.5.5