TypeScript: dealing with `this` component properties which are reffering neither to state, nor to props
Issue Here are my interfaces: export type alphaColorProcessing = (opacity: number) => string | string[]; export interface welcomeMapping { [key: string]: alphaColorProcessing | string; } export interface IPalette { [key: string]: string | string[] | alphaColorProcessing | welcomeMapping; } export interface IThemeContext { theme: string; palette: IPalette; setTheme?: (theme: string) => void; } export interface […]