Skip to content

Commit

Permalink
bugfix: fix CustomLayerProps lineGenerator type by removing unnecessa…
Browse files Browse the repository at this point in the history
…ry Array type
  • Loading branch information
kendrickt authored and plouc committed Mar 13, 2023
1 parent aacd7ed commit 4240e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/line/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ declare module '@nivo/line' {
export interface CustomLayerProps extends Omit<LineSvgProps, 'xScale' | 'yScale'> {
innerHeight: number
innerWidth: number
lineGenerator: D3Line<Array<ComputedDatum['position']>>
lineGenerator: D3Line<ComputedDatum['position']>
points: Point[]
series: ComputedSerie[]
xScale: Scale<unknown, unknown>
Expand Down

0 comments on commit 4240e36

Please sign in to comment.