diff --git a/packages/line/index.d.ts b/packages/line/index.d.ts index e9ff189b3..78407c7e1 100644 --- a/packages/line/index.d.ts +++ b/packages/line/index.d.ts @@ -94,10 +94,10 @@ declare module '@nivo/line' { theme?: Theme - axisTop?: AxisProps - axisRight?: AxisProps - axisBottom?: AxisProps - axisLeft?: AxisProps + axisTop?: AxisProps | null + axisRight?: AxisProps | null + axisBottom?: AxisProps | null + axisLeft?: AxisProps | null enableGridX?: boolean enableGridY?: boolean diff --git a/packages/scatterplot/index.d.ts b/packages/scatterplot/index.d.ts index 269a4c95e..75a228e99 100644 --- a/packages/scatterplot/index.d.ts +++ b/packages/scatterplot/index.d.ts @@ -38,10 +38,10 @@ declare module '@nivo/scatterplot' { margin?: Box - axisTop?: AxisProps - axisRight?: AxisProps - axisBottom?: AxisProps - axisLeft?: AxisProps + axisTop?: AxisProps | null + axisRight?: AxisProps | null + axisBottom?: AxisProps | null + axisLeft?: AxisProps | null enableGridX?: boolean enableGridY?: boolean