FIX: Make properties not optional

This commit is contained in:
Nicolás Hatcher
2025-11-13 20:20:12 +01:00
committed by Nicolás Hatcher Andrés
parent dc49afa2c3
commit 50941cb6ef

View File

@@ -19,24 +19,24 @@ const normalizeRangeString = (range: string): string => {
}; };
interface NamedRangesProps { interface NamedRangesProps {
title?: string; title: string;
onClose?: () => void; onClose: () => void;
definedNameList?: DefinedName[]; definedNameList: DefinedName[];
worksheets?: WorksheetProperties[]; worksheets: WorksheetProperties[];
updateDefinedName?: ( updateDefinedName: (
name: string, name: string,
scope: number | null, scope: number | null,
newName: string, newName: string,
newScope: number | null, newScope: number | null,
newFormula: string, newFormula: string,
) => void; ) => void;
newDefinedName?: ( newDefinedName: (
name: string, name: string,
scope: number | null, scope: number | null,
formula: string, formula: string,
) => void; ) => void;
deleteDefinedName?: (name: string, scope: number | null) => void; deleteDefinedName: (name: string, scope: number | null) => void;
selectedArea?: () => string; selectedArea: () => string;
} }
function NamedRanges({ function NamedRanges({