From 0a546160306d03d04c337c08fed56b51c20147df Mon Sep 17 00:00:00 2001 From: anshukushwaha07 Date: Thu, 11 Sep 2025 02:12:49 +0530 Subject: [PATCH 1/3] fix(types): allow null for line chart point values --- src/types/geometric.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/types/geometric.d.ts b/src/types/geometric.d.ts index 9df01f16487..90c31ed67c9 100644 --- a/src/types/geometric.d.ts +++ b/src/types/geometric.d.ts @@ -8,8 +8,8 @@ export interface ChartArea { } export interface Point { - x: number; - y: number; + x: number | null; + y: number | null; } export type TRBL = { @@ -17,7 +17,7 @@ export type TRBL = { right: number; bottom: number; left: number; -} +}; export type TRBLCorners = { topLeft: number; @@ -33,8 +33,8 @@ export type RoundedRect = { y: number; w: number; h: number; - radius?: CornerRadius -} + radius?: CornerRadius; +}; export type Padding = Partial | number | Point; From c598f373cad432fe31cfb43f94fde9a150559a42 Mon Sep 17 00:00:00 2001 From: anshukushwaha07 Date: Fri, 12 Sep 2025 16:41:55 +0530 Subject: [PATCH 2/3] fix(types): correct closing braces in TRBL and Point definitions --- src/types/geometric.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/geometric.d.ts b/src/types/geometric.d.ts index 90c31ed67c9..e3cf2b12b0f 100644 --- a/src/types/geometric.d.ts +++ b/src/types/geometric.d.ts @@ -17,7 +17,7 @@ export type TRBL = { right: number; bottom: number; left: number; -}; +} export type TRBLCorners = { topLeft: number; @@ -34,7 +34,7 @@ export type RoundedRect = { w: number; h: number; radius?: CornerRadius; -}; +} export type Padding = Partial | number | Point; From 33383b3d9e106d425ae555071c51aa16d746fedc Mon Sep 17 00:00:00 2001 From: Anshu Kushwaha Date: Sat, 13 Sep 2025 21:45:32 +0530 Subject: [PATCH 3/3] fix(types): correct closing braces in RoundedRect --- src/types/geometric.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/geometric.d.ts b/src/types/geometric.d.ts index e3cf2b12b0f..e48ce1c23d3 100644 --- a/src/types/geometric.d.ts +++ b/src/types/geometric.d.ts @@ -33,7 +33,7 @@ export type RoundedRect = { y: number; w: number; h: number; - radius?: CornerRadius; + radius?: CornerRadius } export type Padding = Partial | number | Point;