diff --git a/src/script/E2EIdentity/Modals/Modals.ts b/src/script/E2EIdentity/Modals/Modals.ts index cbee3ee0a53..59a9f090aab 100644 --- a/src/script/E2EIdentity/Modals/Modals.ts +++ b/src/script/E2EIdentity/Modals/Modals.ts @@ -54,7 +54,15 @@ interface GetModalOptions { hideSecondary?: boolean; hidePrimary?: boolean; hideClose?: boolean; - extraParams?: {delayTime?: string; isRenewal?: boolean; isGracePeriodOver?: boolean}; + extraParams?: { + /** time left to remind the user again (only for enroll and renewal modal types). */ + delayTime?: string; + + /** Flag indicating if this is a renewal action */ + isRenewal?: boolean; + + /** Flag indicating if the grace period is over (only for enroll, renew or error modals) */ + isGracePeriodOver?: boolean}; } export const getModalOptions = ({ type,