From 50941cb6ef4f3543308ae42751d6a36a2fc7f522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Thu, 13 Nov 2025 20:20:12 +0100 Subject: [PATCH] FIX: Make properties not optional --- .../RightDrawer/NamedRanges/NamedRanges.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webapp/IronCalc/src/components/RightDrawer/NamedRanges/NamedRanges.tsx b/webapp/IronCalc/src/components/RightDrawer/NamedRanges/NamedRanges.tsx index cb5f54e..d0c3d6d 100644 --- a/webapp/IronCalc/src/components/RightDrawer/NamedRanges/NamedRanges.tsx +++ b/webapp/IronCalc/src/components/RightDrawer/NamedRanges/NamedRanges.tsx @@ -19,24 +19,24 @@ const normalizeRangeString = (range: string): string => { }; interface NamedRangesProps { - title?: string; - onClose?: () => void; - definedNameList?: DefinedName[]; - worksheets?: WorksheetProperties[]; - updateDefinedName?: ( + title: string; + onClose: () => void; + definedNameList: DefinedName[]; + worksheets: WorksheetProperties[]; + updateDefinedName: ( name: string, scope: number | null, newName: string, newScope: number | null, newFormula: string, ) => void; - newDefinedName?: ( + newDefinedName: ( name: string, scope: number | null, formula: string, ) => void; - deleteDefinedName?: (name: string, scope: number | null) => void; - selectedArea?: () => string; + deleteDefinedName: (name: string, scope: number | null) => void; + selectedArea: () => string; } function NamedRanges({