diff --git a/react-notification-system/react-notification-system.d.ts b/react-notification-system/react-notification-system.d.ts index 82d5e9aa2d..4f51314680 100644 --- a/react-notification-system/react-notification-system.d.ts +++ b/react-notification-system/react-notification-system.d.ts @@ -22,8 +22,8 @@ declare namespace NotificationSystem { export interface Notification { title?: string; message?: string; - level?: string; - position?: string; + level?: "error" | "warning" | "info" | "success"; + position?: "tr" | "tl" | "tc" | "br" | "bl" | "bc"; autoDismiss?: number; dismissible?: boolean; action?: ActionObject;