export enum PopupTypes { Movie = "movie", Show = "show", Person = "person" } // export interface IPopupOpen { // id: string | number; // type: PopupTypes; // } export interface IStatePopup { id: number | null; type: PopupTypes | null; open: boolean; }