Fix type declaration issue

This commit is contained in:
Pierre HUBERT 2023-08-31 20:14:36 +02:00
parent 79ce616781
commit c84fb50087
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ export function CouplePage(p: {
shouldAllowLeaving?: boolean;
children?: Member[];
onCancel?: () => void;
onSave?: (m: Couple) => void;
onSave?: (m: Couple) => Promise<void>;
onRequestEdit?: () => void;
onRequestDelete?: () => void;
onForceReload?: () => void;

View File

@ -234,7 +234,7 @@ export function MemberPage(p: {
siblings?: Member[];
couples?: Couple[];
onCancel?: () => void;
onSave?: (m: Member) => void;
onSave?: (m: Member) => Promise<void>;
onRequestEdit?: () => void;
onRequestDelete?: () => void;
onForceReload?: () => void;