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 committed Feb 8, 2023
1 parent 1d8dcf4 commit f91f01c
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 f91f01c

Please sign in to comment.