diff --git a/src/core/interfaces.ts b/src/core/interfaces.ts index f9a144a..31cb143 100644 --- a/src/core/interfaces.ts +++ b/src/core/interfaces.ts @@ -1,9 +1,9 @@ -type UseModal = ( +type UseModal =

( key: string, - modal: PheliaModal, + modal: PheliaModal

, onSubmit?: (event: SubmitEvent) => void | Promise, onCancel?: (event: InteractionEvent) => void | Promise -) => (props?: any) => Promise; +) => (props?: p) => Promise; type UseState = ( key: string,