From fd3b01ac9e0e805e9d884074bc3be919fddd935d Mon Sep 17 00:00:00 2001 From: Adam Laycock Date: Fri, 28 Sep 2018 10:48:58 +0100 Subject: [PATCH] tickFormatter is optional --- types/recharts/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/recharts/index.d.ts b/types/recharts/index.d.ts index c334f977d5..45a69e6980 100644 --- a/types/recharts/index.d.ts +++ b/types/recharts/index.d.ts @@ -484,7 +484,7 @@ export interface PolarAngleAxisProps extends EventAttributes, Partial { } @@ -521,7 +521,7 @@ export interface PolarRadiusAxisProps extends EventAttributes, Partial | ContentRenderer; stroke?: string; - tickFormatter: TickFormatterFunction; + tickFormatter?: TickFormatterFunction; domain?: [PolarRadiusAxisDomain, PolarRadiusAxisDomain]; scale?: ScaleType | RechartsFunction; allowDataOverflow?: boolean;