Fix type declaration issue
This commit is contained in:
parent
79ce616781
commit
c84fb50087
@ -212,7 +212,7 @@ export function CouplePage(p: {
|
|||||||
shouldAllowLeaving?: boolean;
|
shouldAllowLeaving?: boolean;
|
||||||
children?: Member[];
|
children?: Member[];
|
||||||
onCancel?: () => void;
|
onCancel?: () => void;
|
||||||
onSave?: (m: Couple) => void;
|
onSave?: (m: Couple) => Promise<void>;
|
||||||
onRequestEdit?: () => void;
|
onRequestEdit?: () => void;
|
||||||
onRequestDelete?: () => void;
|
onRequestDelete?: () => void;
|
||||||
onForceReload?: () => void;
|
onForceReload?: () => void;
|
||||||
|
@ -234,7 +234,7 @@ export function MemberPage(p: {
|
|||||||
siblings?: Member[];
|
siblings?: Member[];
|
||||||
couples?: Couple[];
|
couples?: Couple[];
|
||||||
onCancel?: () => void;
|
onCancel?: () => void;
|
||||||
onSave?: (m: Member) => void;
|
onSave?: (m: Member) => Promise<void>;
|
||||||
onRequestEdit?: () => void;
|
onRequestEdit?: () => void;
|
||||||
onRequestDelete?: () => void;
|
onRequestDelete?: () => void;
|
||||||
onForceReload?: () => void;
|
onForceReload?: () => void;
|
||||||
|
Loading…
Reference in New Issue
Block a user