From f91f01c9b4156bc17dd9531b6259b88699134bce Mon Sep 17 00:00:00 2001 From: Kendrick Tang <12072571+kendrickt@users.noreply.github.com> Date: Wed, 8 Feb 2023 02:45:34 -0800 Subject: [PATCH] bugfix: fix CustomLayerProps lineGenerator type by removing unnecessary Array type --- packages/line/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/line/index.d.ts b/packages/line/index.d.ts index 694775dd7..5720b47ad 100644 --- a/packages/line/index.d.ts +++ b/packages/line/index.d.ts @@ -69,7 +69,7 @@ declare module '@nivo/line' { export interface CustomLayerProps extends Omit { innerHeight: number innerWidth: number - lineGenerator: D3Line> + lineGenerator: D3Line points: Point[] series: ComputedSerie[] xScale: Scale