export interface IEntity { [id: number]: T; } export interface ICustomState { isLoading: boolean; isLoaded: boolean; data: T; }