diff options
Diffstat (limited to 'FrontEnd/src/app/services/alert.ts')
-rw-r--r-- | FrontEnd/src/app/services/alert.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FrontEnd/src/app/services/alert.ts b/FrontEnd/src/app/services/alert.ts index e4c0e653..b6d6be6e 100644 --- a/FrontEnd/src/app/services/alert.ts +++ b/FrontEnd/src/app/services/alert.ts @@ -1,9 +1,11 @@ import React from "react"; import pull from "lodash/pull"; +import { I18nText } from "@/common"; + export interface AlertInfo { type?: "primary" | "secondary" | "success" | "danger" | "warning" | "info"; - message: string | React.FC<unknown> | { type: "i18n"; key: string }; + message: React.FC<unknown> | I18nText; dismissTime?: number | "never"; } |