File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 41
41
import MarkerPath from ' ./helpers/MarkerPath.svelte' ;
42
42
import { getContext } from ' svelte' ;
43
43
import { resolveProp , resolveStyles } from ' ../helpers/resolve.js' ;
44
- import { line , type CurveFactory , type Line } from ' d3-shape' ;
44
+ import { line , type CurveFactory , type Line as D3Line } from ' d3-shape' ;
45
45
import { geoPath } from ' d3-geo' ;
46
46
import callWithProps from ' $lib/helpers/callWithProps.js' ;
47
47
import { maybeCurve } from ' $lib/helpers/curves.js' ;
100
100
const { getPlotState } = getContext <PlotContext >(' svelteplot' );
101
101
const plot = $derived (getPlotState ());
102
102
103
- const linePath: Line <ScaledDataRecord > = $derived (
103
+ const linePath: D3Line <ScaledDataRecord > = $derived (
104
104
plot .scales .projection && curve === ' auto'
105
105
? sphereLine (plot .scales .projection )
106
106
: callWithProps (line , [], {
You can’t perform that action at this time.
0 commit comments