From 9edda8ca0abee9e22c513a183d0507717df0e477 Mon Sep 17 00:00:00 2001 From: Brandon Wortman Date: Wed, 18 Dec 2024 17:53:22 -0500 Subject: [PATCH] #3955 Refactor IPromptParams interface to make confirmFn mandatory and remove unnecessary discardFn --- apps/client/src/app/core/notification/interfaces/interfaces.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/client/src/app/core/notification/interfaces/interfaces.ts b/apps/client/src/app/core/notification/interfaces/interfaces.ts index 28971e0ed..f3546d457 100644 --- a/apps/client/src/app/core/notification/interfaces/interfaces.ts +++ b/apps/client/src/app/core/notification/interfaces/interfaces.ts @@ -19,10 +19,9 @@ export interface IConfirmParams { } export interface IPromptParams { - confirmFn?: (value: string) => void; + confirmFn: (value: string) => void; confirmLabel?: string; defaultValue?: string; - discardFn?: () => void; discardLabel?: string; title: string; valueLabel?: string;