Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

261 B
Raw Blame
interface BaseTabConfiguration {
  iconName: string;
  label: string;
  showCondition?: boolean;
}

export type TabConfiguration = BaseTabConfiguration &
  (
    | { onClick: () => void; routerLink?: never }
    | { onClick?: never; routerLink: string[] }
  );