I have the following interface:
export interface BlockCtaDoubleProps
{
subheadline: string;
headline: string;
button: string;
link: string;
subheadlineLeft?: string;
headlineLeft?: string;
buttonLeft?: string;
image?: string;
alt?: string;
}
Image
& alt
can only exit if there's no ...Left
props and vice versa. How can I make this clear with interfaces to prevent disparities?